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
Why is .net used?
What is .net core used for?
What is managed code and managed data in .net?
Explain how to rename a table using sql queries?
What is heap and what is stack?
Define satelite assembly?
Please explain what is reflection and what is it for?
What is "microsoft intermediate language" (msil)?
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?
Explain what is a delegate?
How will you make .NET programs work in Linux ?
How to prepare parametrized (with more than one parameters) crystal report. Please tell me the code procedure, if any body can?
Define code access security (cas)?
Tell us the difference between the while and for loop. Provide a .net syntax for both loops?
How do you turn off cookies for one page in your site? Give an example.