Select the caching type supported by ASP.Net ?

  1. Output Caching

  2. DataCaching

  3. Both A & B

  4. None of the above


Correct Option: C

AI Explanation

To answer this question, you need to understand the caching types supported by ASP.Net. Let's go through each option to understand why it is correct or incorrect:

Option A) Output Caching - This option is correct. Output caching is a caching technique in ASP.Net that allows you to cache the output of a web page or user control. It can improve the performance of your application by serving cached content instead of generating it dynamically for each request.

Option B) Data Caching - This option is incorrect. There is no specific caching type called "DataCaching" in ASP.Net. However, you can use the ASP.Net Cache object or other caching mechanisms to cache data in your application.

Option C) Both A & B - This option is correct. ASP.Net supports both output caching and data caching. Output caching is used to cache the output of web pages or user controls, while data caching is used to cache data in your application.

Option D) None of the above - This option is incorrect. As explained above, ASP.Net supports both output caching and data caching, so the correct answer is not "None of the above".

The correct answer is C) Both A & B. This option is correct because ASP.Net supports both output caching and data caching.

Find more quizzes: