WCF Service Name & Binding Name

前端 未结 1 762
抹茶落季
抹茶落季 2021-01-13 04:28

Scenario

I have two WCF Services combined in a single App.Config file. I can\'t get the thing to run (the application compiles but fails at initialization of the se

相关标签:
1条回答
  • 2021-01-13 04:58

    The service name must be the fully qualified name of your service class, including the namespace, e.g.

    <service name="YourServiceNamespace.YourService"> 
    

    It can't be just anything - the name of the service class is used by ServiceHost to find the right service configuration.

    0 讨论(0)
提交回复
热议问题