Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 are cookies in asp.net?

1113


How does a content page different from a master page?

1077


What is the function used for removing an event listener?

1079


How can we communicate with each server in N-tier Architecture? and what are the methods?

2292


Where sessions are stored?

1139


What is webresource axd?

934


What are the elements of a website?

1047


Why is mvc better than asp.net?

1116


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

1024


List the advantages and disadvantages of user control an custom control?

1010


Explain the use of errorprovider control in .net?

1005


What is session management in web application?

1065


How can we prepairing Interview

2374


Which protocol is used to call a web service?

1102


What is asp.net and its advantages?

1019