Sunday, 18 August 2013

How to use OutputCache directive with Substitution in ASP.NET || ASP.NET Page OutputCache Example

Hi friends, in this article I will explain about how to use OutputCache directive with Substitution or OutputCache example program.
Take one new website (File—New--- website).
Take one ASP.NET page (Root Project—Add New Item--- web form—name it as cache.aspx).
In cache.aspx write the following code.

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.

Wednesday, 7 August 2013

How to create and use User Control in asp.net - asp.net example || User Controls in ASP.NET

           Hi Friends, in this article I will explain about what is User control?  How to create and use User Control in asp.net. 
  • User controls (.ascx pages) allow you to save a part of an existing ASP.NET page and reuse it in many other ASP.NET pages ex:header , footers. 
  • A user control is almost identical to a normal .aspx page, with differences: the user control has the .ascx extension rather than .aspx, we cannot run the .ascx page individual and it may not have <HTML>, <Body>, or <Form> tags.

ASP.NET Page Life Cycle Events || What is the sequence in which ASP.NET events are processed? Interview Questions on ASP.NET

Hi friends, in this article I will explain about ASP.NET Page Life Cycle Events or what is the sequence in which ASP.NET events are processed?
In previous article i already explained Interview Questions on SQL SERVER Part I | Interview Questions and Answers on SQL SERVER Part I ,Interview Questions in VB.NET, .NET Framework. and ASP.NET interview Questions .
ASP.NET life cycle is as follows

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.
© 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.