你如何在IIS7在Vista上调试ASP.NET应用程序? [英] How do you debug ASP.NET applications under IIS7 on Vista?

查看:103
本文介绍了你如何在IIS7在Vista上调试ASP.NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有上IIS.net一个帖子标题为的使用Visual Studio 2008和IIS 7.0 ,但我不太相信这是人们做了什么。 (在其他的宝石,它建议每次更改后发布您的web应用程序。)

There is a post on IIS.net titled "Using Visual Studio 2008 with IIS 7.0", but I don't quite believe that's what people do. (Among other gems, it suggests publishing your web app after every change.)

如果您在调试IIS7,而不是卡西尼ASP.NET应用程序,我很想听听你的方法,技巧和窍门。

If you debug your ASP.NET applications in IIS7 instead of Cassini, I would love to hear your methods, tips, and tricks.

修改:我特别是指本地调试

Edit: I'm referring specifically to local debugging.

推荐答案

我只需将Visual Studio中的IIS工作进程,如果您有多个应用程序池,那么你可以运行issapp,以获得相应的PID。

I simply attach Visual Studio to the IIS worker process, if you have multiple app pools then you can run "issapp" to get the appropriate PID.

我从来没有通过点击开始调试调试。

I never debug by clicking "Start Debugging".

这对远程服务器的一个很好的优势,以及,如果您已经安装msvcmon。

This has a nice advantage of working on remote servers as well, if you have installed msvcmon.

这篇关于你如何在IIS7在Vista上调试ASP.NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆