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

What is basic authentication in web api?

537


What is mapping in entity framework? : Entity framework

528


What is viewbag?

618


what do you mean by navigation property?

603


mention what is the difference between ado.net and classic ado?

578






Is it possible to create a custom filter?

573


What are differences between entity framework and l2s? : Entity framework

661


what is explicit loading?

649


What is disconnected scenario? : Entity framework

544


Can I set the unlimited length for "maxjsonlength" property in config?

572


What is entity client data provider? : Entity framework

551


Explain the types of Scaffoldings.

639


What is .net framework in simple terms?

549


What are the main features of asp.net mvc 4 used by asp.net web api?

559


What is connected scenario? : Entity framework

559