- Q Which Indian origin Tamil poet and writer was awarded Cultural Medallion, the highest cultural award of Singapore ?
- Q Explain land use planning results in a legally binding land use plan?
- Q What is the purpose of function 'Delete data and meta data in a queue' in RSA7? What exactly is deleted?
- Q A place where birds are kept
- Q On 1st July 2013, which country became the 28th member of the European Union ?
- Q What is desktop?
- Q Levi Stubbs Renaldo Benson Abdul Fakir Laurence Payton Who
- Q How will you open a file in writing mode without truncating it
- Q What are the 2 sub layers in dlc?
- Q As per Indian Protocol, who among the following ranks highest in the order of precedence?
- Q obnoxious : harmless
Question
You are configuring your ASP.NET application TestKingApp. TestKingApp will be hosted on a Web server that also runs other applications. You want to prevent any changes to the configuration settings of your application after the application is deployed.
What should you do?
A. In the Machine.config file, set the allowOverride attribute in the location element to False. Make no other changes to the Machine.config file.
B. In the Web.config file, set the allowOverride attribute in the location element to False.
Make no other changes to the Web.config file.
C. In the Machine.config file, set the allowOverride attribute in the appSettings element to False. Make no other changes to the Machine.config file.
D. In the Web.config file, set the allowOverride attribute in the appSettings element to False. Make not other changes to the Web.config file.
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Answers
Answer: B
Explanation: Administrators can lock configuration settings by adding an allowOverride="false" attribute to a directive. We should use the Web.config file of the application since we only want to lock configuration for this particular application.
Reference: .NET Framework Developer's Guide, Locking Configuration Settings
Incorrect Answers
A: We want to lock a single application, not all application on the computer.
C, D: The allowOverride attribute is used in the location element, not in the appSettings element. Your Comment
Explanation: Administrators can lock configuration settings by adding an allowOverride="false" attribute to a
Reference: .NET Framework Developer's Guide, Locking Configuration Settings
Incorrect Answers
A: We want to lock a single application, not all application on the computer.
C, D: The allowOverride attribute is used in the location element, not in the appSettings element. Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Software Questions..
What is the inputsplit in map reduce software?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How can you implement fine-grained auditing?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is IBM’s simple explanation for Big Data’s four critical features?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What does the NULLIF function do?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What happens if a start method is not invoked and the run method is directly invoked?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
what is the difference between mysql_fetch_array and mysql_fetch_object?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How will XML affect my document links?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Why to use Style Sheets?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are Filters in MVC?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can you explain Application layer in OSI model?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How to define new testplan attributes?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Which oracle package is used to manage the oracle lock management services?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is marker interface?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What types of partitioning are there for BW?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,