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 is the difference between user control and custom control?

932


In which event of page cycle is the viewstate available?

1004


Difference between response.redirect and server.transfer?

1014


Explain the asp.net session state modes.

1051


What language does asp.net use?

983


What is the typical session identifier?

1018


What are directives in asp.net? List down all the important directives.

926


How to deploy/publish webservices?How many ways?Plz explain me

2266


Which data type does the rangevalidator control support?

926


How does cookies work in asp net?

1056


What is a session in programming?

1057


Define caching.

1040


What do you mean by query string?

926


How do I publish my asp.net application to my isp's web server?

1060


Differentiate between client-side and server-side validations in web pages.

1004