WCF - Contract Name could not be found in the list of contracts

后端 未结 6 861
猫巷女王i
猫巷女王i 2020-12-20 11:10

I am relatively new to WCF. However, I need to create a service that exposes data to both Silverlight and AJAX client applications. In an attempt to accomplish this, I have

6条回答
  •  渐次进展
    2020-12-20 11:23

    Modify your web.config You can find tag and below of this tag you have to have two other tag :

    And

    In tag you have to reference to interface of your class.

    For exampl : If your service class named CustomerSearch and your interface named ICustomerSearch you have to config like this :

      
      
    

提交回复
热议问题