Add Web Reference in Visual Studio 2010

In this article we will be seeing how to add web reference in Visual studio 2010.

I have created a console application to access the _vti_bin/excelservice.asmx web service. To do that I need to add the web reference, here we will be seeing how to add the web reference.

To add the web reference do the following steps:

  • Go to the console application, right click on the References folder and click on "Add Service reference".

  • Click on "Advanced".

  • Click on "Add Web Reference".