问题
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