Skip to main content

Posts

Showing posts from October, 2014

State Management in ASP.NET

This material is referenced from (http://www.codeproject.com/Articles/180726/State-management-and-ways-to-handle-Cache-in-a-Web).  IntroductionIn this article, I am going to talk about state management but focus mainly on Web Farm and Web Garden scenarios as there are already very good articles available on the topic in CodeProject. Also, I have already written a few articles on state management. Just for the new readers, I am adding the first few sections from my earlier article to give a brief idea about state management. In this article, I'll be discussing about Web Farms/Web Gardens and later will discuss the various approaches to handle cache in a Web Farm/Web Garden scenario. Basics about state managementAs we all know, the web is stateless. A web page is recreated every time it is posted back to the server. In traditional web programming, all the information within a page and controls get wiped off on every postback. To overcome this problem, the ASP.NET framework provides va…