PrepAway - Latest Free Exam Questions & Answers

What should you recommend?

You are designing a deployment strategy for multiple Web applications.
All ASP.NET Web applications must run under medium trust.
You need to recommend an approach for raising a system error if an application attempts to override the trust level.
What should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the isLocked attribute in the trust element of the root Web.config file.

B.
Set the isLocked attribute in the trust element of the child Web.config file.

C.
Set the allowOverride attribute in the location element of the root Web.config file.

D.
Set the allowOverride attribute in the location element of the child Web.config file.

Explanation:
SectionInformation.AllowOverride
Gets or sets a value that indicates whether the associated configuration section can be overridden by lower-level configuration files.

http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.allowoverride.aspx


Leave a Reply