Posts

Showing posts from January, 2012

State Management and ways to handle Cache in Web Farm/Web Garden scenario

Image
Basics about State management: As we all know,web is stateless .A Web page is recreated every time it is posted back to the server.In traditional web programming, that all the information within the page and control gets wiped off on every  post back . To overcome this problem,ASP.NET framework provides various ways to preserve the states at various stages like controlstate,viewstate, cookies, session etc.These can be defined in at client side and server side state management. What is AppDomain An AppDomain can be defined as light weight process and is used for security isolation and availability. AppDomain is hosted on some process and a Process can host multiple AppDomains. So one AppDomain can go down/restarts without affecting other AppDomains in the same process. Role of AppDomain in ASP.NET: AppDomain  plays a key role in asp.net. When ASP.NET receives first request, the Application manager creates an application domain for it, Application domain are very important becaus