What should you do?

You are developing an ASP.NET Web application.
Application data is stored in a Microsoft SQL Server 2008 database.
You configure a connection string named cnnContoso.
The application must cache the data that is returned from the database by using this connection string.
You need to ensure that the application checks the database every 10 seconds.
What should you do?
A. Add the following configuration to the <system.web> section of the web.config file.

B. Add the following configuration to the <system.web> section of the web.config file.

C. Add the following @ Page directive to pages that query the database.
<%@ OutputCache Duration="10" VaryByParam="cnnContoso" %>
D. Add the following @ Page directive to pages that query the database.
<%@ OutputCache Duration="10000" VaryByParam="cnnContoso" %>

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.