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 cookies in asp.net?
How does a content page different from a master page?
What is the function used for removing an event listener?
How can we communicate with each server in N-tier Architecture? and what are the methods?
Where sessions are stored?
What is webresource axd?
What are the elements of a website?
Why is mvc better than asp.net?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
List the advantages and disadvantages of user control an custom control?
Explain the use of errorprovider control in .net?
What is session management in web application?
How can we prepairing Interview
Which protocol is used to call a web service?
What is asp.net and its advantages?