Category Archives: VS

Generate WebReferance Proxy using wsdl.exe


To generate web reference for you project use wsdl.exe and then including the generated file (.cs) into your project.

Based on the .NET framework version your wsdl.exe file will exist in corresponding path as below

In case anyone using VS 2008 (.NET v3.5) is also looking for the wsdl.exe.
I found it here:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\wsdl.exe

Future versions C:\Program Files\Microsoft SDKs\Windows\vx.xx\bin\wsdl.exe

For v4.5.1
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\wsdl.exe

For v4.6.1
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\wsdl.exe

Using any one of below command can generate proxy class

wsdl /language:CS /n:”<NameSpaceName>” <Path of wsdl file>.wsdl

wsdl.exe /language:CS <Path of wsdl file>.wsdl

wsdl.exe <Path of wsdl file>.wsdl

Ref: https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/7h3ystb6(v=vs.80)?redirectedfrom=MSDN

ASP.NET Web Configuration Tool missing in VS2013


I’m using Visual Studio 2013 and as you probably know there is no ASP.NET Web Configuration Tool but Just now i came to know about it. Still i want to access it, so first i want to know why they remove this option. While surfing on net i came to know that this is due to removal of Visual Studio Development Server  (or Cassini) from the product.

Now now let see how we will access our Web Configuration Tool
Through your VS2013 console, copy and paste below code

“C:\Program Files\IIS Express\iisexpress.exe” /path:c:\windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:”/asp.netwebadminfiles” /port:8089 /clr:4.0 /ntlm

Please wait …. don’t exit the command prompt by pressing ‘q’.

Again copy and past the url in a browser and edit ‘[Exact_Project_Path]’ part with your physical application path

http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=%5BExact_Project_Path%5D\&applicationUrl=/

That all 🙂

%d bloggers like this: