Skip to content

Binding Name Query in CoreWCF #46

@PramodMhamunkar

Description

@PramodMhamunkar

Which sample is the bug for

Describe the bug
I'm currently transitioning from ASMX to CoreWCF and noticed a difference in the binding naming convention. In ASMX, we've been able to name our bindings simply, for example: "GetAppReportSoap". However, in CoreWCF, it seems that the binding name also requires the contract name, resulting in something like: "GetAppReportSoap_IGetAppReportSoap".

Could you please clarify if this is the expected behavior, or if there is a way to use simple binding names in CoreWCF similar to what we had in ASMX?

To Reproduce
Steps to reproduce the behavior:

  1. Build application'
  2. Copy the WSDL service.
  3. Check the WSDL service URL in the Soap application.
  4. See the change in the image below.

Expected behavior
The expected behavior is shown in green, whereas the actual behavior is highlighted in red below the image.
image
Repo environment (please complete the following information):

  • OS: Windows
  • .NET Version 6.0
  • IDE or command line builds

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions