protected void Application_Stop(object sender, EventArgs e) { if (RequestsProcessor != null) { RequestsProcessor.Dispose(); RequestsProcessor = null; } StopKeepAlive(); }
protected void Application_Start(object sender, EventArgs e) { InitApp(); RequestsProcessor = new AccountRequestsProcessor(); new AppHost().Init(); StartKeepAlive(); }