Featured Post

Free Asp.net Hosting

 FREE TRIAL PACKAGE Free Trial with Instant Activation (Credit Cards NOT Required) SmarterASP.NET believes in try...

Monday, September 3, 2012

how to use svcutil.exe to generate proxy class

open visual studio Command Prompt
start-->Microsoft Visual Studio 2010--> Visual Studio Tools-->Visual Studio Command Prompt

Write this line

svcutil.exe /language:cs /out:GeneratedProxy.cs /config:app.config http://localhost:8040/HostWebApplication/HelloWorldService.svc 



Replace
http://localhost:8040/HostWebApplication/HelloWorldService.svc 
 with your service address

hope this be useful