difference between <connectionstring> <Appsetting>
Answer Posted / prabhat saxena(manu)
there are three way to stablished the connection in
web.config file
1- <appsetting>
code.....
</appsetting>
2-
<ConnectionString>
......code
...
</ConnectionString>
3-
you can create own type of tag and register this tag with
machine.comfig files,
there is no more difference to stablish the connection with
any tag,
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 |
Post New Answer View All Answers
How to implement Authentication and Authorization?
Differentiate between namespace and assembly.
What is difference between ispostback and autopostback in asp net?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
What are the uses of list view control in Asp.net?
What r the asp.net list controls and difference between them?
What is virtual directory in asp.net?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?
What are the advantages of Web API?
What is a pixel url?
What is application in asp net?
What is Dynamic Web and discuss its usage with the help of real life examples?
How to do state management in ASP.NET?
What is the difference between executescalar and executenonquery?