开发者

How do I shut down web services launched by Visual Studio

I have a solution with about 10 web services and one web site that calls them. All开发者_StackOverflow社区 the services have to launch when I click "start debugging", which is necessary and good. When I stop debugging the services are still running. I can right click on each of them in the system tray to shut them down, or I can shut down Visual Studio and they get shut down automatically. Is there a better way?

I found this SO post which says how to not start the services in the first place, but I want the services to launch (and even want them to stay running more often than not.)


PsTools includes pskill.exe which will kill all running processes with a given name. If you're not concerned with closing the web services gracefully then this may be an option.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜