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 is Code group in .Net with respect to CAS

1770


What is jit compilers?

746


i m fresher,hav SQL knowledge but in my ofc. i hav to work on dotnet. so plz tell me how to learn it,? from where to stat? i hav C prog. knowledge, ASP.net

2340


What is the difference between response.redirect & server.transfer?

743


What is a garbage collector?

817


what are connection strings?

1977


What is .net latest version?

750


Please tell us what is the difference between override and overload in a method?

773


Please explain what is immutability, what is it for and how is it codified?

738


What is the concept of inheritance in .net?

809


What is the difference between response.write & response.output.write?

787


What data providers available in .net to connect to database?

700


Tell us what is a sealed class?

745


I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.

1683


What is .net standard?

788