If I have 2 startup projects as explained here.
One is a WebSite/WebService; the other is a WinForms app.
How do I stop the Service when the C# WinForm app is closed.
UPDATE
Im running IIS Express within my Solution.
Ther are the 2 projects (WebSite/WinForms) When the WinForms app closes it must also stop the instance of IISExpress.
Im noticing that while debugging, I close the app but the Service is still running.