如何在Visual Studio 2008中运行开发Web服务器(Cassini)?

编程入门 行业动态 更新时间:2024-10-22 13:55:33
本文介绍了如何在Visual Studio 2008中运行开发Web服务器(Cassini)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用Visual Studio 2008来开发ASP.NET应用程序。目前我正在IIS上运行调试。我想切换到开发Web服务器(Cassini)进行调试,以便我可以使用编辑和继续的功能。我不是的原因是因为开发Web服务器只有在您处于调试模式时启动。有没有办法保持它一直运行,只要Visual Studio附加到现有的服务器进程像IIS一样?

I'm using Visual Studio 2008 to develop ASP.NET applications. Currently I'm debugging with running on IIS. I would like to switch to the development web server (Cassini) for debugging, so that I can use features like edit and continue. The reason that I'm not, is because the development web server only starts up when you are in debug mode. Is there any way to keep it running all the time, and just have Visual Studio attach to the existing server process like it does with IIS?

推荐答案

您还可以从命令行启动您的Cassini服务器,这需要整个调试工作中的痛苦。

You can also start your cassini server from the command line which takes alot of pain out of the whole "debug" effort...

查看一个好的这里介绍如何做到这一点: https ://thoughtjelly.wordpress/2009/05/13/launch-cassini-from-the-command-line/

Check out a good snippet here on how to do this: thoughtjelly.wordpress/2009/05/13/launch-cassini-from-the-command-line/

更多推荐

如何在Visual Studio 2008中运行开发Web服务器(Cassini)?

本文发布于:2023-11-10 22:30:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576641.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器   如何在   Visual   Studio   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!