I use IIS 7.0 and I want to know how if I can set Appliacation pool in web config file.
2 Answers
I don't think this is possible. Choosing the application pool for your application is a "Setup" issue, rather then a "configuration".
-
Is there any way to set my application pool in visual stuido before publish my web site?– caginCommented Sep 28, 2012 at 7:33
-
1@cagin Check out this. stackoverflow.com/questions/658675/… Commented Sep 28, 2012 at 8:11
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
.
-
2I think cagin was asking about IIS application pools, not SQL Server connection pooling...– HeinziCommented Oct 28, 2013 at 13:26