Is it possible to recycle a WCF web service hosted on IIS from code?
When a certain error code is received from an Oracle connection I am using, I want to recycle the web service.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you jus want to recycle your current application then try
it will unload your app from host’s memory and will load again on next request.
from MSDN