简体   繁体   English

在Visual Studio 2008中使用IIS5调试ASp.NET MVC

[英]Debug ASp.NET MVC with IIS5 in Visual Studio 2008

I have been trying this for some time but could not figure out yet. 我已经尝试了一段时间,但还没弄清楚。 Is there a way to choose IIS5 as the web server instead of the default Cassini which comes with Visual Studio 2008? 有没有办法选择IIS5作为Web服务器,而不是Visual Studio 2008附带的默认Cassini?

I have web flow(request, response) from my web site to a 3rd party provider and would like to know what I am getting back from the 3rd party. 我有从我的网站到第三方提供商的网络流(请求,响应),并且想知道我从第三方得到的回报。

Right now the Cassini server cannot be open for the world on internet. 目前,Cassini服务器无法在Internet上打开。 I have to publish the code in IIS5 and write the response to file to debug. 我必须在IIS5中发布代码,并将响应写入文件以进行调试。 But it would be nice if I could do it in Visual Studio 2008 directly which will save me lot of time. 但是,如果我可以直接在Visual Studio 2008中进行操作,那就太好了,这样可以节省很多时间。

Thanks in advance. 提前致谢。

You can choose IIS in the properties of the web project: 您可以在Web项目的属性中选择IIS:

alt text http://learn.iis.net/Content_Cache/387/Properties-Web.png 替代文字http://learn.iis.net/Content_Cache/387/Properties-Web.png

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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