Stop window services while HttpWebRequest is in processing
Let say I have a windows service which is use to consume webservices from another site and return data to the caller. If I want to stop the windows service while it is processing HttpWebRequest, how could I make the windows service to stop right after finishing process of the HttpWebRequest?
Thanks.