Posts

Showing posts from January 7, 2009

Some more tips on WCF

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

ServiceModel Metadata Utility Tool (Svcutil.exe)

The svcutil utility is a one used to create the proxy for a WCF service svcutil url more on svcutil can be seen at http://msdn.microsoft.com/en-us/library/aa347733.aspx Cheers!!!