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 Finalizer in .NET define Dispose and Finalize ?

0 Answers   MCN Solutions,


what is the default value of CHAR type?in C# using asp.net?

7 Answers   Bosch,


What is .net technology?

0 Answers  


What is the difference between the C#.NET and VB.NET?

6 Answers   MCN Solutions,


What are the main components in .net?

0 Answers  


What does jit compilation do in .net?

0 Answers  


Describe ways of cleaning up objects.

2 Answers   Wipro,


What's the use of system.diagnostics.process class in .net?

0 Answers  


What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories?

1 Answers   TCS,


Why is .net used?

0 Answers  


How do you generate a strong name?

0 Answers  


what are connection strings?

0 Answers   Manhattan, RTRT,


Categories