difference between <connectionstring> <Appsetting>
Answers were Sorted based on User's Feedback
Answer / prabhat saxena(manu)
there are three way to stablished the connection in
you can create own type of tag and register this tag with
there is no more difference to stablish the connection with
mostly developer prefer <AppSettion> beause it provieds
some extra properties,but no diff. of the performance,
u can use anyone,
|Is This Answer Correct ?||11 Yes||5 No|
Answer / priya
The <appSettings> element of a web.config file is a place
to store connection strings, server names, file paths, and
other miscellaneous settings needed by an application to
|Is This Answer Correct ?||10 Yes||7 No|
Answer / 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|
Answer / ved
The syntax differences between the application settings and
connection strings sections
|Is This Answer Correct ?||3 Yes||12 No|
Answer / sandeep
Simply connection string is saved in web con fig file
in between <Appsetting> tags
|Is This Answer Correct ?||4 Yes||15 No|
Answer / jerry joseph
<Appsetting> in Web.Config can be used to store Settings
which are applicable for the whole Application
<connectionstring> is a node within <Appsetting> in the
it can be used to store the Connection String
|Is This Answer Correct ?||4 Yes||19 No|
About delegates ?
What are the various ways of securing a web site that could prevent from hacking etc ?
what is the role of aspx file ?
How do you relate an aspx page with its code behind page ?
What are the benefits of view state?
What is server side session management?
Caching techniques in .NET ?
How we handle the runtime database schema change issue in asp.net application?
What is the latest version of asp.net?
Where would you use an ihttpmodule, and what are the limitations of any?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
Define repository pattern in asp.net mvc? : asp.net mvc