WCF End Point Error

The binding at system.serviceModel/bindings/basicHttpBinding does not have a configured binding named.

While consuming any WCF Service method If you face this type error than follow below steps:

Open your web.config file.

RemovebindingConfiguration="wsHttpBinding" from your endpoint.

  1. <endpoint address="http://localhost:8090/Services/MyService" binding="basicHttpBinding" bindingConfiguration="wsHttpBinding" contract="IContracts" name="wsHttpBinding" />  

 

 
Ebook Download
View all
Learn
View all