What are the different types of caching ?
Answer / bhim bharti
Caching is a technique widely used in computing to increase performance by keeping frequently accessed or expensive data in memory. In context of web application, caching is used to retain the pages or data across HTTP requests and reuse them without the expense of recreating them.ASP.NET has 3 kinds of caching strategiesOutput CachingFragment CachingData
CachingOutput Caching: Caches the dynamic output generated by a request. Some times it is useful to cache the output of a website even for a minute, which will result in a better performance. For caching the whole page the page should have OutputCache directive.<%@ OutputCache Duration="60" VaryByParam="state" %>
Fragment Caching: Caches the portion of the page generated by the request. Some times it is not practical to cache the entire page, in such cases we can cache a portion of page<%@ OutputCache Duration="120" VaryByParam="CategoryID;SelectedID"%>
Data Caching: Caches the objects programmatically. For data caching asp.net provides a cache object for eg: cache["States"] = dsStates;
| Is This Answer Correct ? | 0 Yes | 0 No |
What is application in asp net?
How connect data into DropDownList from Aceess Table?
What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
What are the types of assemblies and where can u store them and how a private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein)?
What is the difference between server-side scripting and client-side scripting?
What is round trip in asp.net?
Which namespace is used by ado.net?
What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?
Where are session variables stored?
What is Model-View-View Model?
Can you clarified A Web service can only be written in .NET or not?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)