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.
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.
精彩评论