Don’t do iisreset do …

a mini batch file in your start menu, when you're debugging the application startup of a .Net application, and keep wanting to restart it:

taskkill /im aspnet_wp.exe /f
if not errorlevel == 0 pause

or

taskkill /im w3wp.exe /f
if not errorlevel == 0 pause

which does the job much faster.

Assuming, of course, that your reason for wanting to do an iis reset was to force a .Net application restart. And you don't mind forcing all running .Net applications to restart. And you're not on a busy production machine at rushhour.

Don’t do iisreset do …

by Chris F Carroll read it in 1 min
0