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
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
What does mvc represent in asp.net? : asp.net mvc
Why is mvc better than asp.net?
Define the types of configuration files.
What is asp.net response object?
What is the asp.net control toolkit?
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What is Dynamic Web and discuss its usage with the help of real life examples?
Web API uses which library for JSON serialization?
What is AutoEventWireup attribute for ?
Is asp.net and .net same?
Mention the execution process for managed code?
What is the difference between GridView and Repeater controls in ASP.NET?
What is sta?