So add one call to self website to make application running again.
protected void Application_End(object sender, EventArgs e) { System.Threading.Thread.Sleep(1000); try { WebClient http = new WebClient(); string Result = http.DownloadString(yourwebsiteurl); } catch (Exception ex) { string Message = ex.Message; } }
No comments:
Post a Comment