WCF Contract Name 'IMyService' could not be found?

后端 未结 13 2084
借酒劲吻你
借酒劲吻你 2021-02-01 01:16

The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The

13条回答
  •  悲&欢浪女
    2021-02-01 01:34

    can you post code of your interface...? as normally this occurs if you haven't specified ServiceContract attribute in your Interface...

提交回复
热议问题