Showing posts with label State Management. Show all posts
Showing posts with label State Management. Show all posts

Wednesday, 14 August 2013

Different Types of Caching in ASP.NET | ASP.NET Page Output Cache | Improving Performance with Output Caching

 Hi friends, in this article I will explain about the different types of caching in ASP.NET?
  •  Caching is a powerful feature in ASP.NET that can increase the performance of a Web application. Caching is generally used to catch frequently accessed data. 
  • Basically we are retrieving data from a database like SQL Server, Oracle etc. is one of the slowest Web site operations that we can perform. 
  • However, if you can cache the database data in memory and avoid accessing the database with every page request, you can dramatically increase the performance of your application.

Tuesday, 6 August 2013

ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET

Hi friends, in this article I will explain about ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET.
I explained in the previous article about state management on Cookies and Sessions.
  • ViewState is the mechanism that allows state values to be preserved across page postbacks.
  •  I already explained about state management using cookies and sessions.
  • Viewstate is also the mechanism used to store the values across the page postbacks.
  • Maintaining the viewstate is the default for ASP.NET web pages.
  • If you don’t want to maintain the ViewState then include the directive <%@ Page EnableViewState="false" %> at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Tuesday, 30 July 2013

Difference between Cookies and Session in ASP.Net || What is cookie? || What is session? How to use sessions and cookies?

Hi Friends, in this article I will explain about the Difference between Cookies and Session in Asp.Net.
I already explained in the previous articles about what is cookie? How to use cookie? What is session? How to use sessions? and i gave one Session State example in ASP.NET Session State Example in C#, VB.NET.and one cookie example in Example for cookie.
We can use session and cookies to maintain the state while during page postbacks.

Monday, 29 July 2013

ASP.NET Session State Example in C#, VB.NET || What is Session in .NET || How to use Session in .NET ?

Hi friends, in this article I will explain about what is session? How to use session in ASP.NET?
Session : Server Side objects for saving your data for the session you are using the site, there is a time for which these objects stay in the memory and that is defined in web.config for session state section otherwise 20 mins by default.

Thursday, 25 July 2013

Difference between cookie and session? || what is Cookie? || What is Session? in .NET || Cookies in ASP.NET

Hi Friends, in this article I will explain about what is Cookie? What is Session and Difference between cookie and session?
What is cookie?
  • A cookie is often used to identify a user.
  • Cookies have so many names likes HTTP Cookie, Web Cookie, Browser Cookie, Session Cookie, etc.
  • A cookie is a small file that the server embeds on the user's computer.
  • Each time the same computer requests a page with a browser, it will send the cookie too.
  • With ASP, you can both create and retrieve cookie values.
© 2012-2018 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.