Some more tips on WCF
I was trying to create a proxy for a WCF console application, but whenever i gave this command
svcutil http://localhost/servicename
I used to get an error and the proxy was not getting created . The i browsed the url and found that it was not enabled.
So i had to add the "behaviors' node to the web.config of the host console application as
Once this was done and also added the attribute "behaviorConfiguration="mybehaviors"" to the service node . Bingo the proxy was generated ..
Cheers!!!
svcutil http://localhost/servicename
I used to get an error and the proxy was not getting created . The i browsed the url and found that it was not enabled.
So i had to add the "behaviors' node to the web.config of the host console application as
Once this was done and also added the attribute "behaviorConfiguration="mybehaviors"" to the service node . Bingo the proxy was generated ..
Cheers!!!
Comments