I have a MVC API Application and its hosted on my local machine IIS(8.0), In that application I am feeding some other api with the real time data, All works fine until the system is not restarted(or app pool is not restarted/recycled). Is there any way through which I can call my global.asax Application _start event just after the system is restarted.
Note: I don't want to use a window service.
Code Snippets of Global.asax :
protected void Application_Start()
{
DadBal dad = new DadBal();
dad.WriteLogs("App-Started" + DateTime.Now.ToString(), "AppInit");
}