IIS Express 停止 Web 应用程序后立即关闭正在运行的站点 [英] IIS Express Immediately shutting-down running site after stopping web application

查看:34
本文介绍了IIS Express 停止 Web 应用程序后立即关闭正在运行的站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 IDE 中停止应用程序的第一天使用 Visual Studio 2012,应用程序仍在 IIS Express 上运行,我可以浏览和使用正在运行的应用程序,但现在我不能.如果我按下停止按钮,IIS 会立即关闭应用程序.因为我记得我没有对设置进行任何更改.我应该如何像第一天一样运行.

I'm using visual studio 2012 in the first days when I want to stop application in IDE, application was still running on IIS Express, I could browse and work with running application, but now I can't. IIS Immediately shutting-down application if I press stop button. Since I remember I didn't make any changes in setting. How should I do that running same as first days.

推荐答案

我最近遇到了类似的情况,我的 IIS Express 在我停止调试后突然停止.这是在我打开启用编辑并继续"后发生的.因此,如果您禁用此功能,您将看到 IIS Express 即使在调试停止后仍保持运行.

I recently faced a similar situation when suddenly my IIS Express stopped right after I stopped debugging. This happened after I turned on "Enable Edit and Continue". So if you disable this you will see that IIS Express stays running even after debugging is stopped.

右键单击您的项目 > 单击属性 > 选择左侧的Web"选项卡 > 取消选中 Enable Edit and Continue 复选框.

Right click your project > click Properties > select the 'Web' tab on the left > uncheck the Enable Edit and Continue checkbox.

这篇关于IIS Express 停止 Web 应用程序后立即关闭正在运行的站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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