IIS6 |应用程序池| ASP.NET框架 [英] IIS6 | Application Pools | ASP.NET Framework

查看:121
本文介绍了IIS6 |应用程序池| ASP.NET框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS6有可能在同一个应用程序池中运行多个ASP.NET应用程序。这是好的,但没有什么是IIS6 prevents从运行在同一池中的多个版本的.NET。

In IIS6 it's possible to have more than one ASP.NET application running in the same application pool. This is fine, except that there is nothing in IIS6 that prevents you from running multiple .NET versions in the same pool.

当您创建IIS7应用程序池,你必须明确说明是.NET版本将在池中运行。在运行多个IIS7版本的.NET,在相同的应用程序,是不可能的。

When you create application pools in IIS7 you must explicitly state was .NET version will be running in that pool. Running multiple .NET versions in IIS7, in the same application, is impossible.

我如何才能从创建这样的问题我执行IIS6服务器上这样的规则,以prevent我的部署团队?

How can I enforce such rules on my IIS6 server in order to prevent my deployment team from creating such problems?

推荐答案

我做什么:

步骤1.创建以下应用程序池:

Step 1. Create the following application pools:

.NET 1.1应用

.NET 2.0的应用

.NET 1.1 Apps
.NET 2.0 Apps

步骤2.禁用默认应用程序池

Step 2. Disable the "Default App Pool"

现在,新的应用程序在IIS中配置任何时候,它不会因为默认的应用程序池被禁用工作的时候了。这迫使配置应用程序,选择一个应用程序池适合于应用程序的.NET framework版本的人。

Now, any time a new application is configured in IIS, it will not work right away because the default app pool is disabled. This forces the person configuring the application to select an app pool that is appropriate for the .NET framework version of the app.

这篇关于IIS6 |应用程序池| ASP.NET框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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