强制IIS防爆preSS以经典管道模式 [英] Force IIS Express to Classic Pipeline Mode

查看:134
本文介绍了强制IIS防爆preSS以经典管道模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能强制IIS防爆preSS在经典模式下运行?我需要这个配置与停留的.csproj,一旦该文件说,一个项目应该是与IIS防爆preSS开放。

How can I force IIS Express to run at classic mode? And I need that this configuration stays with .csproj, once that this file that say that a project should be open with IIS Express.

推荐答案

在Visual Studio 2010中选择Solution Explorer中的Web应用程序项目节点,然后:

In Visual Studio 2010 select the Web Application project node in Solution Explorer then either:


  • preSS <大骨节病> F4

  • Press F4


  • 导航到查看 - &GT;属性窗口或preSS F4

  • Navigate to View -> Properties Window or press F4

重要:不要右键单击 - &GT;属性从Solution Explorer中的项目节点,因为这将显示右键快捷菜单中的属性页的为这是一个完全不同的事情该项目。

Important: Don't Right-click -> Properties from the right-click context menu for the project node in solution explorer because that will show the Property Pages for the project which is a whole different thing.

在属性窗口,你会看到该条目的托管管道模式的:

In the properties Windows you'll see the entry for Managed Pipeline Mode:

在Visual Web Developer中2010例preSS它或多或少相同,再选择除$ P $ web项目PSS <大骨节病> F4 来获取属性页:

In Visual Web Developer 2010 Express it's more or less the same, again select the web project except press F4 to get that property page:

唯一需要注意的是,如果你与他人共享项目(通过源头控制说吧),此设置不存储在 .csproj的文件,但在IIS防爆preSS 的applicationHost.config 文件,具体到您的用户配置文件。所以,你需要确保其他人自己的本地的applicationHost.config 文件中配置该属性:

The only caveat is that if you share the project with others (say via source control), this setting isn't stored in the .csproj file but in the IIS Express applicationHost.config file specific to your user profile. So you'd need to ensure others configured this property in their own local applicationHost.config files in:

%userprofile%\Documents\IISExpress\config

以上所有的工作也与Visual Studio 2013年和2015年。

All of the above also works with Visual Studio 2013 and 2015.

这篇关于强制IIS防爆preSS以经典管道模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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