Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Is there anyway to skip app domain recycle during App_Code changes?

$
0
0

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].

Losing Session State

What causes an application pool in IIS to recycle?

http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx

Application running on IIS7.5 and Windows 7 Professional with Service Pack 1


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>