Difference between <connectionstring> and <appsettings>

Answers were Sorted based on User's Feedback



Difference between <connectionstring> and <appsettings>..

Answer / bharathi

u can declare ur database connection in connection string
and u can declare all ur application settings in appsettings
like ur service url etc

Is This Answer Correct ?    17 Yes 8 No

Difference between <connectionstring> and <appsettings>..

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

Difference between <connectionstring> and <appsettings>..

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

Difference between <connectionstring> and <appsettings>..

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

Post New Answer

More Dot Net Framework Interview Questions

How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

0 Answers  


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

0 Answers  


how to disable the lazy loading framework?

0 Answers   Microsoft,


What was the problem in traditional component why side by side execution is supported in .net ?

1 Answers   MMTS,


How does the .net framework 3.0 relate to windows vista?

0 Answers  






How to free the memory that is not used by an object in garbage collection?

4 Answers   IBM,


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


mention what is the key advantage of using entity framework or ef?

0 Answers   Microsoft,


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#?

0 Answers  


What is global assembly cache

2 Answers   BirlaSoft,


WHICH IS MORE SECURED AMONG JAVA AND .NET?

7 Answers  


What is the meaning of unobtrusive javascript?

0 Answers  


Categories