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
Is asp.net core faster?
What is server redirect?
Why would anyone need to implement their own hashtable or linked list?
What is event bubbling?
Can user control be stored in library?
What are validator? How do you disable them?
What's the use of formatters in .net?
Can you explain the basic use of dataview?
To load your generated dataset with data which method do you invoke?
In asp.net, how can you validate drop down box?
What is different authentication mechanisms used in ASP.NET?
How to use push notification?
What is custom attribute? How to create?
What is the main difference between Asp.net and Vb.net?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?