How many types of cache are there?



How many types of cache are there?..

Answer / Hirawan Lal

In ASP.NET, there are two main types of caching: Output Caching and Fragment Caching. Output Caching caches the entire page output, while Fragment Caching caches only a part of the page.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is sdlc process?

1 Answers  


Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.

5 Answers   ADITI, Syntax Softtech,


List of words of preprocessor in .net?

1 Answers  


What is content place holder?

1 Answers  


You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.

3 Answers   Syntax Softtech,


what is AutoEventWireUp and what is the use of This property explain in details?

1 Answers   ITC Infotech,


What is the difference between a candidate key and primary key?

1 Answers  


under which namespaces connection strings can be defined?

4 Answers  


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)?

3 Answers   Accenture,


What is customer control and user control?

1 Answers   Perot Systems,


What is the difference between trace and debug in asp.net?

1 Answers  


Where the cookie value is stored?

1 Answers  


Categories