What is Fragment Caching in ASP.NET?

What is Fragment Caching in ASP.NET?

Fragment caching does not cache a WebForm, rather it allows for caching of individual user controls within a Web Form, where each control can have different cache duration and behavior.

Example: If you have a User Control, then add the following line in Aspx page
<%@ OutputCache Duration="20" VaryByParam="none"%>

Similarly you could have another usercontrol with duration set to 10 and have both these controls on a single Web Form
What is partial classes in .net?
ASP.NET - What is partial classes in .net? - .Net2.0 supports the concept of partial classes which is unlike the concept of one class...
How to pass a querystring from an .asp page to aspx page
ASP.NET - Explain how to pass a querystring from an .asp page to aspx page - Yes you can do it using a hyperlink...
Overview of the .NET Compact Framework
.NET Compact Framework - .NET Compact Framework is a scaled down versions of .NET framework for supporting Windows CE based mobile....
Post your comment