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...

What is the difference between appsetting and connectionstring
tags in web.config file

Answer Posted / nishanthini.r

ConnectionString:Instead of defining a connection string
on each page, you write it once it the web.config and can
reference it from all other pages.
AppSetting:Not only for defining connection u can give any
key value and name it...but connectionString is meant only
for defining path.
<appSettings>
<add key="MyKey" value="00989-00657-45678-34267"/>
</appSettings>

<ConectionStrings>
<add name="MyConnection" ConnectionString="Connection path
which u have to privide">
</ConnectionStrings>

Is This Answer Correct ?    31 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cookies in asp net?

950


What is the purpose of using MVC programming pattern in ASP.NET?

1045


Is it true that a Web service must be written in .NET or not?

1097


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

2356


What are the two types of web pages?

953


What is data caching?

998


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

2006


What is form method?

934


What is difference between viewstate and session in asp net?

1039


What are the different methods of session maintenance in asp.net?

1023


Name the tools or API for developing or testing web api?

953


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

1190


Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?

1005


What are httphandlers and httpmodules and difference between them?

1007


What are the merits and demerits of viewstate?

1042