Can I set application pool in webconfig?

断了今生、忘了曾经 提交于 2020-07-08 15:59:09

问题


I use IIS 7.0 and I want to know how if I can set Appliacation pool in web config file.


回答1:


I don't think this is possible. Choosing the application pool for your application is a "Setup" issue, rather then a "configuration".




回答2:


Use Pooling=False; in your connection string to disable pooling in your app. If you want to configure it, you can add something like this Max pool size=200; Min poolsize=0.

More info about pooling you can find here...



来源:https://stackoverflow.com/questions/12635177/can-i-set-application-pool-in-webconfig

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