4

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

cagin
  • 5,772
  • 14
  • 74
  • 130

2 Answers2

7

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

Yiğit Yener
  • 5,796
  • 1
  • 23
  • 26
  • Is there any way to set my application pool in visual stuido before publish my web site? – cagin Sep 28 '12 at 07:33
  • 1
    @cagin Check out this. http://stackoverflow.com/questions/658675/how-can-i-create-a-new-application-pool-in-a-web-setup-project – Yiğit Yener Sep 28 '12 at 08:11
-3

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...

Igor Lozovsky
  • 2,275
  • 2
  • 15
  • 14
  • 2
    I think cagin was asking about IIS application pools, not SQL Server connection pooling... – Heinzi Oct 28 '13 at 13:26