Debugging a Web Service

S

Sathyaish

How do you debug a web service in Visual Studio .NET 2003? To give you
some background, I have been programming for some over 8 years now and
know how to debug VB, VC++ apps in Visual Studio 6.0 and also know how
to debug WinForms apps, Console Apps and ASP.NET apps in Visual Studio
..NET 2003.

It occurs that this is the first time I am debugging a Web service.
 
N

Nicholas Paldino [.NET/C# MVP]

Sathyaish,

If you have debugged ASP.NET apps, then you should have no problem
debugging a web service. Web serivces are hosted in ASP.NET, and not any
different in the debugging sense than say, web pages.

Of course, VS.NET makes this MUCH easier, since it will allow you to
host locally, which makes the debugging experience MUCH easier.

Hope this helps.
 
P

Peter Bromberg [C# MVP]

Sathyaish,
add the webservice project to your solution where you have the app that
calls your webservice. Set a WebReference to the WSDL url of the webservice
project in your solution.
Set your breakpoints, and have fun.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top