I am working on a change request to one of our ASP.NET projects, where most of the code change/update required on App_Code folder. But for each change for App_Code files leads to app domain recycles and then repeated logins. I want to avoid this for development environment.
what i tried:
- Increased sessionState timeout.
- Increased Idle Time-out for Apppool in IIS[7.5].
- I didn't change sessionState mode from "InPorc" as it causing some errors[I think we need to declare some classes as serializable with StateServer and SQLServer. I don't want to make changes other parts of the project where i am not working].
I went through below posts, got idea that App_Code changes will cause app domain recycle but i am looking for solution to avoid it[if possible].
What causes an application pool in IIS to recycle?
Update:
Application running on IIS7.5 and Windows 7 Professional with Service Pack 1
We can't skip recycling an app domain without changing the sessionState mode to other than "InProc"
https://forums.iis.net/p/1226481/2103541.aspx?Is+there+anyway+to+skip+app+domain+recycle+during+App_Code+changes+