Difference between web.config and app.config?
Answers were Sorted based on User's Feedback
Answer / k kranti kumar
web.config file is for asp.net web applications
app.config file is for .net windows applications
Is This Answer Correct ? | 44 Yes | 7 No |
Answer / pravinkumar
app.config file is for .net windows applications
web.config file is for asp.net web applications
Is This Answer Correct ? | 18 Yes | 7 No |
Answer / 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 |
What is Dynamic Web and discuss its usage with the help of real life examples?
What is validationsummary server control? where it is used ?
what is state management,what is the purpose of it,how it will be implemented in real time?
How to configure a website without using IIS.
What is difference between Fragment Caching and Page Caching in ASP.NET?
There is a login page that has two text boxes with required field validators on it. The page has a login and cancel button. How can we ensure that the click on the cancel button doesnt fire a validation event.
What is the life-span of the items in the viewstate?
Why is an object pool required?
About Windows/Forms Authentication
Is asp.net a programming language?
what is webservices. howit is use in our project .
What is page fragment caching?