baron
baron

Reputation: 11181

How can I debug this web service http handler?

I am building a Httphandler following these instructions here

It manipulates HTTP POST and HTTP GET. I have a client with two buttons two POST and GET.

After i've tested and happy everythings working I move it from localhost to IIS. Now when I do this I get an exception in the POST handler code.

How on earth can I debug this code line by line? I managed to do this awhile ago, I thought it was by attaching to process but I can't work it out. I can emulate GET just by typing address in browser, post im not sure about. I've tried telnetting and sending it from there but haven't had any luck.

Upvotes: 2

Views: 1884

Answers (1)

this. __curious_geek
this. __curious_geek

Reputation: 43207

Attach visual studio debugger to asp.net worker process. It must work that way. You must attach to right worker process that is running your app as there may be multiple instances of asp.net worker process.

Upvotes: 2

Related Questions