Actually I couldnt reproduce your senario, so I just could tell you the general reason why the application domain recycle.
Machine.Config, Web.Config or Global.asax are modified
The bin directory or its contents is modified
The number of re-compilations (aspx, ascx or asax) exceeds the limit specified by the <compilation numRecompilesBeforeAppRestart=/> setting in machine.config or web.config (by default this is set to 15)
The physical path of the virtual directory is modified
Young Yang -...
All-Star
21344 Points
1818 Posts
Microsoft
Re: IIS7.5 restart MVC3 application when delete subdir
May 09, 2012 05:28 AM|LINK
Hi
Actually I couldnt reproduce your senario, so I just could tell you the general reason why the application domain recycle.
Hope this helpful
Regards
Young Yang
Feedback to us
Develop and promote your apps in Windows Store