PrepAway - Latest Free Exam Questions & Answers

you add to the Web.config file?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework
version 3.5.You plan to deploy the application to a test server.You need to ensure that during
the initial request to the application, the code-behind files for theWeb pages are compiled.
You also need to optimize the performance of the application. Which code fragment should
you add to the Web.config file?

PrepAway - Latest Free Exam Questions & Answers

A.
<compilation debug=”true”>

B.
<compilation debug=”false”>

C.
<compilation debug=”true” batch=”true”>

D.
<compilation debug=”false” batch=”false”>

Explanation:
The debug attribute must always be set to false for production deployments to avoid the performance hit of debugging applications.


Leave a Reply