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 the customized properties of a .NET
application from XML .config file? Can you automate this
process?

Answer Posted / saravankumar

Initialize an instance of AppSettingsReader class. Call the
GetValue method of AppSettingsReader class, passing in the
name of the property and the type expected. Assign the
result to the appropriate variable. In Visual Studio yes,
use Dynamic Properties for automatic .config creation,
storage and retrieval.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the similarities and difference between class and structure in .net?

993


How does cas works?

984


Explain can the validation be done in the server side? Or this can be done only in the client side?

922


what is prototype design pattern in .net

1005


Explain code access security.

981


Explain what is the difference between a class and an object?

1225


Explain the difference between public and static modifiers?

1127


Explain the process of serialization in .NET?

1083


Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?

1085


What’s different between process and application in .net?

1057


What is dot net architecture?

1042


What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?

935


What versions of .net are there?

1043


Explain why do we use msmq?

990


What are the different.net tools which you used in projects?

968