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

What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

521


What is the purpose of master page?

510


If you are using components in your application, how can you handle exceptions raised in a component?

2065


What are sharepoint pages?

485


Difference between .NET and previous version?

2089






What is session in asp.net?

507


What is server transfer?

481


how can create login from create and written conde in asp.net

1767


What is http session state?

504


How to turn off cookies for a page?

564


If you want to write your own dot net language, what steps you will you take care?

512


what is loosely coupled solution? How it can be used?

555


What is paging in context of Memory?

640


What is the meaning of TestApi?

618


explain code with datachaching with example

1692