Difference between <connectionstring> and <appsettings>

Answer Posted / sampath

if u do a project in.net you have many webforms.each form
should connect with database.so u have to write
connectionstrings in each form.u can avoid these things.u
can declare connection strings in global wise.then it will
inherit in each form

Is This Answer Correct ?    7 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the .net framework 3.0 relate to the .net framework 2.0?

773


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

758


How we can handle the exception at controller level in ASP.Net MVC?

786


Can you explain model, controller and view in mvc?

744


Explain entity lifecycle? : Entity framework

779


Is it possible to cancel filter execution?

740


Which are the important namespaces used in mvc?

903


How does the 'page lifecycle' of asp.net mvc works?

775


Describe the .net framework architecture.

793


What symbol would you use to denote, the start of a code block in razor views?

752


What is needed for running an application built on winfx on the .net framework 3.0?

697


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

737


How does �side by side� work for the .net framework 3.0?

700


What is ViewStart Page in ASP.Net MVC?

757


What does a viewmodel do?

722