Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IISExpress application pool recycle

Is there a way to recycle IIS Express application pool?

If I open cmd and go to C:\Program Files\IIS Express, then run:

 appcmd apppool /?

the list of commands lacks the "recycle" option.

The only workaround I've found is to edit the applicationhost.config file. Only then the IISExpress apppool is recycled.

Is there a more elegant way to achieve that?

Thanks

like image 359
liorafar Avatar asked Mar 01 '16 09:03

liorafar


1 Answers

IIS Express does not have application pool support at all, as it is just a single process web server. You can kill the process but it won't automatically start.

True application pool support requires a Windows service like Windows Process Activation Service. Thus, if you do want to test out application pool, use local IIS.

like image 92
Lex Li Avatar answered Oct 01 '22 21:10

Lex Li