I have an IIS ASP.Net web service that will kick off a .net console application. I want to provide a graceful shut down for the console app. (ie) The shut down request will originate from web service and the console app will respond & gracefully shutdown. Is it possible to do this without using any port ?
One solution I can think of is to establish a long poll link from console app to web service. Is there any other way where the console app can establish a listening mechanism without using ports ? My deployment environment has some security scanners running, if it finds an unapproved open port, it is bad.
I'm not a WCF expert, but this answer looks like it would help. He refers to this MSDN article on choosing a transport.
From that article: