How do you retrieve information from web.config ?
Answer Posted / vikram
By using Configuration Manager we can get information
<appsetting>
<add key=img
value="data source=......"/>
</appsetting>
we can use appsetting
configurationManager.appsetting["img"]
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is viewstate? What does the “enableviewstate” property do?
What is asp.net mvc? : asp.net mvc
Give an example of cookie abuse.
Define the steps to set up validation control.
IN an ASP.NET Web application if there is any error, how can you debug?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
How can we register exception filter globally?
How can you identify that the page is post back?
Which property is used to identify the Page is Post Back in ASP.NET?
How do sessions work?
Which object encapsulates state or data of a user?
Can we use MSSql as backend in asp.net...if yes then How.?
How to prepare culture-specific formatting in .net.
How we implement web farm and web garden concept in asp.net?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?