简体   繁体   English

关闭Visual Studio后继续运行I​​IS Express和我的网页

[英]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.

相关问题 使用 IIS Express 在 Visual Studio 中运行 Angular 和 Web API - Running Angular and Web API in Visual Studio with IIS Express Visual Studio 2017 页面启动错误“无法启动 IIS Express Web 服务器” - Visual Studio 2017 Page Launching Error "Unable To Launch the IIS Express Web Server" 如何在Visual Studio Express 2013中通过本地IIS运行Web项目 - How to run web project by local IIS in visual studio express 2013 在Visual Studio 2013中的IIS Express上托管多个Web项目 - Multiple web project are hosted on IIS Express in Visual Studio 2013 在 Visual Studio 上通过 IIS Express 运行时可以加载图像,但通过 IIS 运行时无法加载 - Image can load when running by IIS Express on Visual studio, but can't load when running by IIS 在visual studio上使用IIS而不是IIS Express - using IIS instead of IIS Express on visual studio 是否可以在Visual Studio 2015的其他端口中发布asp.net Web API? IIS不是IIS Express - Is it possible to publish asp.net web api in a different port in Visual Studio 2015 ? IIS not IIS Express IIS无法将网页重定向为Visual Studio。 - IIS not directing to correct web page as visual studio. Visual Studio 2010在调试而不是我的项目上显示IIS 7页面 - Visual Studio 2010 displays IIS 7 page on debug instead of my project System.NullReferenceException for .NET 服务在 Windows Server IIS 上运行,但在 Visual Studio IIS Express 中运行时在本地工作 - System.NullReferenceException for .NET service running on windows server IIS but works locally when running in Visual Studio IIS Express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM