Difference between web.config and app.config?
Answer Posted / reva ram sahu
web.config is used with web applications. web.config will by
default have several configurations required for the web
application. You can have a web.config for each folder under
your web application.
app.config is used for windows applications. When you build
the application in vs.net, it will be automatically renamed
to <appname>.exe.config and this file has to be delivered
along with your application.
You can use the same method to call the appsettings values
from both config files :
System.Configuration.COnfigurationSettings.AppSettings["Key"]
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Does google crawl redirects?
What are the different kinds of assemblies?
What is razor? : asp.net mvc
What is difference between web config and global asax?
Explain About duration in caching technique
Why is an object pool required?
i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?
What is session and application variable in asp net?
Why is this service branded with windows livetm?
Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc
3. What goals do you have in your career?
Where code pages are used?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is the difference between mechine.config and web.config?