开发者

How to Test an IIS Module via Visual Studio?

开发者 https://www.devze.com 2023-03-24 12:40 出处:网络
I\'m working on an IIS module written in C#.I\'m trying to test out some different types of functionality which is slowing down the development process.Right now I make the code change, build it, move

I'm working on an IIS module written in C#. I'm trying to test out some different types of functionality which is slowing down the development process. Right now I make the code change, build it, move the DLL to my web folder and refresh the website in my browser. This means I have to follow 开发者_JAVA技巧the stack trace every time an error occurs.

Is there some way I can run this directly from Visual Studio so if an error occurs VS will catch it and display the details allowing me to step back and forth through it?

Thanks in advance!


As long ad IIS loading modules DLLs you should be able to attach Visual Studio debugger to the IIS working process, try out to attach to the w3wp.exe process

0

精彩评论

暂无评论...
验证码 换一张
取 消