Tell About Web.config ?

Answer Posted / sivaprasad

Usually ASP.NET Application will run by two configuration
files 1)machine.webconfig
2)Web.config
These two are in system will is for all Webapplications
and we had a choice like maintaining web.config files in
Application for maintaing connectionstrings,Appsettings
which is used for Application settings so this web.config
file will overwrite settings in above two config files and
we had a choice like maintaining web.config file under
perticular folder which contain settings for that
particular pages which are under that folder, so this
web.config file will ovwrwrite settings in our Application
web.config file

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tracing? Where is it used?

555


What are different types of api?

533


Can you nest updatepanel within each other?

554


What are the Types of authentications in IIS

599


Explain the namespace classes used in asp.net mvc? : asp.net mvc

500






How long do session variables last?

532


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

565


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

597


How do cookies work? Give an example of their abuse.

545


Is it right that ASP.NET Web API has replaced WCF?

512


Why viewstate is used in asp.net?

509


Explain the difference between or and orelse?

538


What is caching? What are different ways of caching in asp.net?

664


What is the mvc framework?

566


What are server side controls?

533