Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Application_Start event in global.asax fires when code is re-published?

Does the Application_Start in global.asax called when the new published code is kept in IIS web root for the project,

like image 864
Sagar Avatar asked May 11 '12 07:05

Sagar


1 Answers

Application_Start triggers everytime the application pool is recycled which normally happens when you update some of the files in the bin folder or web.config. So if you republish your site and update some of those files IIS will unload the application and Application_Start will fire next time a request comes in.

like image 85
Darin Dimitrov Avatar answered Oct 18 '22 01:10

Darin Dimitrov