difference between <connectionstring> <Appsetting>

Answer Posted / sivaram

Well inside the appsettings is where you put all properties
that have to do with the entire web application you are
building. Connection strings can be placed inside the
appsettings to make it easy to connect each page from your
site to a database. Instead of defining a connection string
on each page, you write it once it the web.config and can
reference it from all other pages.

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are client activated objects?

545


Why do you use the app_code folder in asp.net?

546


What are the components of ado.net?

524


How can u deifne the benefits and limitation of using Viewstate for state management?

697


Why select Web API?

560






What is http post action?

524


Can you dynamically assign a Master Page?

575


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

593


Define the steps to set up validation control.

570


Is it possible to apply themes to an asp.net application? If yes, then how?

564


Explain how can we access static variable?

539


What is the use of dispose method?

549


Can we store object in viewstate?

525


What is meant by ispostback in asp net?

535


What is the flow of processing of the request? : asp.net mvc

501