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 main advantages of using asp.net?
What is difference between abstract class and an interface?
What is difference between asp state management and asp.net state management?
What are the different types of sessions in asp.net?
How can you debug your.net application?
How to you can limit Access to Web API to Specific HTTP Verb?
How can we update records in gridview?Is there any appropriate code for it?
What are tuples?
Can we have a web application running without web.config file?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
State differences between MVC and WebAPI
What is a postback ispostback and autopostback in asp net?
How should I destroy my objects in asp.net?
Explain the difference between dataset and datareader.
Define secured sockets layer.