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 user control and custom control?
In which event of page cycle is the viewstate available?
Difference between response.redirect and server.transfer?
Explain the asp.net session state modes.
What language does asp.net use?
What is the typical session identifier?
What are directives in asp.net? List down all the important directives.
How to deploy/publish webservices?How many ways?Plz explain me
Which data type does the rangevalidator control support?
How does cookies work in asp net?
What is a session in programming?
Define caching.
What do you mean by query string?
How do I publish my asp.net application to my isp's web server?
Differentiate between client-side and server-side validations in web pages.