When I launch my application, it opens many instances of cassini. How can I quickly stop all or some instances of cassini.
I know to kill all processes from the task manager. Could this be done better and faster?
Now the process name has changed to this version:
taskkill /IM WebDev.WebServer40.exe /F
If this does not work, check the task list for the same name.
This Visual Studio extension provides a quick way to kill all Cassini instances (using a keyboard shortcut)
EDIT:If you want to do this using the command line only, you can use the taskkill . Example:
taskkill
taskkill /IM WebDev.WebServer /F
See this page and team explanation for more details. You may need to specify WebDev.WebServer40 for the .Net 4 web server.