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
What are the different types of sessions in asp.net?
What is session in asp.net?
How can you identify that the page is post back?
What do you mean by authentication?
What is view state management in asp net?
What is a web farm?
Is asp.net a programming language?
Describe the diffeerence between inline and code behind?
Where is session cookies stored?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
What is difference between mvc and asp.net? : Asp.Net MVC
What is variable and constant in .net programming language?
How many types of session in ASP.NET
What are user controls?
What is caching in asp.net?