web.config中的Processmodel配置 [英] Processmodel Configuration in web.config

查看:230
本文介绍了web.config中的Processmodel配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到要为Asp.Net配置流程模型,

To configure Process model for Asp.Net I have seen,

  1. asp-net-processmodel-configuration-optimization

asp-net-processmodel-configuration

这不能给我清楚的信息,并且我有一个场景-

This does not give me clear information and im having a scenario-

我想为特定的ASP.NET配置自定义过程模型 Web服务(如果需要,我会将其放在单独的应用程序池中),但其他 IIS中的webservice/site应该使用默认的processmodel 在machine.config中存在的配置.

i want to configure a custom processmodel for specific ASP.NET Webservice (i will put it in a separate App pool if needed) but other webservice/site in the IIS should use the default processmodel configuration that is exist in machine.config.

我的问题是

是否可以在web.config中为特定的进程配置过程模型 ASP.NET Web服务?

Is it possible to configure a processmodel in web.config for specific ASP.NET web service?

如果可能的话,我应该记住什么问题, IIS中的其他应用程序也会出现问题,而 在Machine.Config中使用processmodel的默认配置?

if possible then is there any issue should i have to keep in mind and also does the other application in the IIS will have problem while using default config of processmodel in Machine.Config?

推荐答案

根据

According to the documentation for the processModel configuration, it is not possible to configure it for an individual application in IIS.

只能在Machine.config中设置processModel部分 文件,并会影响正在该文件上运行的所有ASP.NET应用程序 服务器.

The processModel section can be set only within the Machine.config file and affects all ASP.NET applications that are running on the server.

根据您的要求,您也许可以使用 httpRuntime配置满足您的特定需求.

Depending on your requirements, you may be able to use the httpRuntime configuration for your specific needs.

这篇关于web.config中的Processmodel配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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