Difference between <connectionstring> and <appsettings>
Answers were Sorted based on User's Feedback
Answer / rituraj pandey
Application Setting is mostly use when we want to perform
more then one work just like this setting with the reporting
tools , make new connection for the user control etc.
but if we want to make only connection with the database and
we don't any other work so we use the connection string .
appsetting is working with the group type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / guest
<appsettings> is used before connection string
we use it to set the applicstion setting so that program
run successfully,but
<connectionstring> is used to make the or establish the
connection.
| Is This Answer Correct ? | 3 Yes | 15 No |
What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?
Which is the best institute in hyderabad to learn DotNet?
152 Answers Cygnet Infotech, Infosys, Student, SVIT, TCS,
What's different about namespace declaration when comparing that to package declaration in Java ?
Explain tempdata in mvc?
Can you draw and explain the .NET Farmework?
what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?
How we can call a javascript function on the change of a dropdown list in mvc?
If you are using components in your application, how can you handle exceptions raised in a component ?
4 Answers Accenture, BirlaSoft,
How does CAS work
What is the benefit of entity framework?
Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?
What are the benefits of .net framework?