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 is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
What is the purpose of master page?
If you are using components in your application, how can you handle exceptions raised in a component?
What are sharepoint pages?
Difference between .NET and previous version?
What is session in asp.net?
What is server transfer?
how can create login from create and written conde in asp.net
What is http session state?
How to turn off cookies for a page?
If you want to write your own dot net language, what steps you will you take care?
what is loosely coupled solution? How it can be used?
What is paging in context of Memory?
What is the meaning of TestApi?
explain code with datachaching with example