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
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
Describe the Server Control Events of ASP.NET?
What is difference between web api and web services?
How can we inherit a static variable?
9. Why should we hire you over the others waiting to be interviewed?
What is difference between Fragment Caching and Page Caching in ASP.NET?
Describe the .net base class library.
How do you implement sql caching in asp.net?
Is web config mandatory?
How ASP.NET page works?
What is redirecting behavior?
What is connection pooling and how to enable and disable connection pooling?
How to unit test Web API?
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
When was asp.net released?