简体   繁体   中英

How to Test an IIS Module via Visual Studio?

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 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!

只要有较长的IIS广告加载模块DLL,您就应该能够将Visual Studio调试器附加到IIS工作进程,请尝试附加到w3wp.exe进程

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM