Usage of web.configuration ?

Answer Posted / tiger.net

This is the configuration file for the application, its
common practice for having application level config
settings available for the website.
We can have multiple web.config files for the application.
All the config settings of the application can be managed
and can be encrypted if requirement demands.
We can manage database connection, session settings,
authentication, authorization,...etc

We have machine.config file that can provide the config
settings for the websites, but it is laid per machine,
which is not not a good practice to use it, so in web
applications we can place the web.cnfig file for each
application, which has higher precidence over the
machine.config file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean your session has timed out?

717


How many types of sessions are there in asp net?

713


Are cookies client side or server side?

662


What is the difference between localization and globalization?

755


Why cyclomatic complexity is important?

743


What is the difference between session and viewstate?

701


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

2151


How use Xml data in ASP.net?

734


Which method is used to force all the validation controls to run?

763


Explain the overview of asp.net?

750


What are the various types of validation controls provided by asp.net?

726


What is difference between view state and session state?

654


If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.

850


Can more than one person use the same login?

729


Explain about asp.net 2.0 themes?

712