Difference between viewstate, cache, session
Answer Posted / govindarao konduri
view state:- This is common way to store the data in view state.View state is using 'hidden files' to store data.Advantage is performance.Disadvantage is if any cross post back occurs the view state will expires.
Caching:- The caching always store the resulted data.First time user send a request to server, the user required data will be stored in caching from the server.Next time onwards no need to go for server,we can get the information from the caching..
Session:- Session is very secure because it was located at server.Sessions are (2) types.
1.inproc
2.Out-process(its preferred)
*State server
*Sql server
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the Types of session management in ASP.NET
Explain the asp.net mvc folder conventions? : asp.net mvc
Explain Session state management options in ASP.NET.
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
How is mvc different from asp.net? : Asp.Net MVC
What is request and response in asp.net?
What are different types of api?
Where do we store our connection string in asp.net application?
What is server side routing?
What are the different types of proxy patterns?
Which class is used to send an email message from an ASP.NET Web page?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
How to find out what version of asp.net I am using on my machine?
What is server infrastructure?
What is cas?