I have created a webservice in C# with .NET 1.1. How can I debug it? In
other words, how can I start the debugger and have it listen for incoming
web requests? I have tried setting my start debug to the .ASMX file, but
when I start debug (F5), it compiles it, and then nothing happens (the
debugger doesn't even start).
Dilip Krishnan - 04 Feb 2005 01:17 GMT
Hello Tim,
You need to use the Debug->Processes-> Choose aspnet_wp.exe and send
your web service requests
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> I have created a webservice in C# with .NET 1.1. How can I debug it?
> In other words, how can I start the debugger and have it listen for
> incoming web requests? I have tried setting my start debug to the
> .ASMX file, but when I start debug (F5), it compiles it, and then
> nothing happens (the debugger doesn't even start).
Chris Botha - 04 Feb 2005 03:29 GMT
The way that it should work, is you should be able to right click on the
asmx page and select "Set As Start Page", then hit F5 and it should go, same
as with aspx pages.
If it does not work, also try the microsoft.public.dotnet.framework.aspnet
newsgroup.
>I have created a webservice in C# with .NET 1.1. How can I debug it? In
>other words, how can I start the debugger and have it listen for incoming
>web requests? I have tried setting my start debug to the .ASMX file, but
>when I start debug (F5), it compiles it, and then nothing happens (the
>debugger doesn't even start).
Scott M. - 04 Feb 2005 05:10 GMT
Make sure your breakpoint is in a webmethod, not a procedure called by the
webmethod.
>I have created a webservice in C# with .NET 1.1. How can I debug it? In
>other words, how can I start the debugger and have it listen for incoming
>web requests? I have tried setting my start debug to the .ASMX file, but
>when I start debug (F5), it compiles it, and then nothing happens (the
>debugger doesn't even start).