[英]Keep running IIS Express and my web page after closing visual studio
I would like to know if there is a way to keep IIS express and my web page running after closing Visual Studio. 我想知道在关闭Visual Studio之后是否有一种方法可以保持IIS的快速运行并使我的网页运行。 I am not just closing debug session but I want to close Visual studio itself.
我不仅要关闭调试会话,还想关闭Visual Studio本身。 Is it possible?
可能吗? If nor, can I achieve that using command prompt?
如果没有,我可以使用命令提示符来实现吗?
i am not sure there is anyway to keep open IIS Express.but 我不确定是否仍然可以保持打开IIS Express。但是
you can host website on local IIS to access your website or webpage 您可以在本地IIS上托管网站以访问您的网站或网页
It could be your project settings. 这可能是您的项目设置。 Please check if you have enabled edit and continue in debug mode:
请检查您是否已启用编辑并以调试模式继续:
In Visual Studio, right click your web project in the Solutions Explorer > click Properties > select the 'Web' tab on the left pane > uncheck the 'Enable Edit and Continue' checkbox on the right pane. 在Visual Studio中,在解决方案资源管理器中右键单击您的Web项目,然后单击属性,然后在左窗格中选择“ Web”选项卡,然后在右窗格中取消选中“启用编辑并继续”复选框。
Then run your web project and the IIS Express should retain listing of your web site even after you stop debugging. 然后运行您的Web项目,即使停止调试,IIS Express仍应保留您网站的列表。
I must say it wouldn't retain the web site after closing Visual Studio. 我必须说,在关闭Visual Studio之后,它不会保留该网站。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.