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

How do you retrieve information from web.config ?

Answer Posted / vikram

By using Configuration Manager we can get information
<appsetting>
<add key=img
value="data source=......"/>
</appsetting>

we can use appsetting
configurationManager.appsetting["img"]

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

1045


Describe the Server Control Events of ASP.NET?

1133


What is difference between web api and web services?

958


How can we inherit a static variable?

999


9. Why should we hire you over the others waiting to be interviewed?

2712


What is difference between Fragment Caching and Page Caching in ASP.NET?

974


Describe the .net base class library.

986


How do you implement sql caching in asp.net?

1008


Is web config mandatory?

923


How ASP.NET page works?

1052


What is redirecting behavior?

913


What is connection pooling and how to enable and disable connection pooling?

959


How to unit test Web API?

1157


How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?

906


When was asp.net released?

981