Tuesday, August 19, 2014

State Management in Asp.net

Introduction: In this article today I tried to explain the State Management and its types in Asp.net 
Description:
 

State management can be defined as a technique by which we can maintain/preserve the state of web page, controls and objects over multiple requests for same or different pages. All the Asp.net web application is stateless. 
Types of State Management:
There are two types of state management:
 1.  Client Side state management
 2.  Server side state management

Client Side state management:
 This store the information on client’s machine does not use the server resources and store the information in html page, HTTP request or on disk cache of machine. It has minimal security but faster than server side in performance and also support for multiple browsers. 
Following are the Client side state management option that we use:
a) ViewState
b) Hidden fields
c) Cookies
d) Query string
e) Control state 
Server Side state management:
This store the information on server’s machine. Server side state management provides better security and reduces the bandwidth. 
Following are the Server side state management option that we use:
a) Session State
b) Application State

Is this article helpful for you?

If yes post your comment to appreciate my work and fell free to contact me. You can like me on Facebook, Google+, Linkedin and Twitter via hit on Follow us Button and also can get update follow by Email.

2 comments:

  1. It will be good if you explain atleast in one sentence of each type.

    ReplyDelete
    Replies
    1. Thanks for advice Tapasvi. i am explain all these in separate articles. As i complete, all types are linked.

      Delete