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!!!

Comments

Popular posts from this blog

Jesus - God Thinks of you.

ASP.NET 4.0 Feature - URL Routing

Tips on JQuery Intellisense in VS 2008