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


Please Help Members By Posting Answers For Below Questions

Is asp.net core faster?

756


What is server redirect?

732


Why would anyone need to implement their own hashtable or linked list?

2671


What is event bubbling?

784


Can user control be stored in library?

700


What are validator? How do you disable them?

793


What's the use of formatters in .net?

761


Can you explain the basic use of dataview?

818


To load your generated dataset with data which method do you invoke?

824


In asp.net, how can you validate drop down box?

810


What is different authentication mechanisms used in ASP.NET?

796


How to use push notification?

797


What is custom attribute? How to create?

756


What is the main difference between Asp.net and Vb.net?

775


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

718