Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop all cassini instances?

When I am running my application, It opens many instance of cassini. How can i stop all or some of the cassini instances quickly.

I know to kill all the processes from task manager. Can it be done in some better and faster way?

like image 254
Deviprasad Das Avatar asked Dec 07 '11 09:12

Deviprasad Das


2 Answers

The process name has changed on this version its now:

taskkill /IM WebDev.WebServer40.exe /F  

When that doesn't work, check the tasklist for a similar name.

like image 173
4vf5d6s465s Avatar answered Oct 05 '22 19:10

4vf5d6s465s


This Visual Studio extension provides a quick way to kill all instances of Cassini (via a shortcut key)

EDIT :
If you want to do it via command line only, then you can use the taskkill command. An example:

taskkill /IM WebDev.WebServer /F

See this page for more examples, and an explination of the command. You may need to specify WebDev.WebServer40 for the .Net 4 web server

like image 31
flipchart Avatar answered Oct 05 '22 17:10

flipchart