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

Where sessions are stored?

659


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

1773


What are cao and sao.

548


What is the mvc framework?

568


What is the life-span of the items in the viewstate?

505






Why cyclomatic complexity is important?

564


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

567


In Code-Behind class which kind of code (server or client) is found ?

599


Explain an object, class and method.

562


Where viewstate value is stored in asp.net?

597


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

577


Explain advantages of caching?

534


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

520


Can we have a web application running without web.config file?

526


What is the difference between cookie and session?

504