Processmodel Configuration in web.config

天大地大妈咪最大 提交于 2019-12-10 11:23:07

问题


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

  1. asp-net-processmodel-configuration-optimization

  2. asp-net-processmodel-configuration

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

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.

My question is,

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

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?


回答1:


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

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

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



来源:https://stackoverflow.com/questions/18296646/processmodel-configuration-in-web-config

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!