how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?



how do you retrieve the customized properties of a .NET application from XML .config file? Can you ..

Answer / 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

More Dot Net General Interview Questions

What is concurrency? How will you avoid concurrency when dealing with dataset?

0 Answers  


what all type of application can u make with visual studio?

3 Answers   Manhattan,


Explaing your project.

1 Answers   Deloitte,


What is namespaces in .net?

0 Answers  


Can you share processes between Windows services?

2 Answers  






What distributed process frameworks outside .NET do you know?

1 Answers  


How can I find out what the garbage collector is doing?

0 Answers  


What application do you use to install a Windows service?

1 Answers  


What are situations when you register .NET assembly in GAC ?

0 Answers   UGC Corporation,


Explain the difference between the while and for loop. Provide a .net syntax for both loops?

0 Answers  


Differences between datagrid, datalist and repeater in .net?

0 Answers  


Explain what is immutability, what is it for and how is it codified?

0 Answers  


Categories