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 |
Define the term Web Garden?
0 Answers Sans Pareil IT Services,
What are the session variables?
What is the difference between a multi-layer and multi-tier applications?
What is server side session?
What event fired during, when datagrid click?
With example & diagram explain AutoPostBack.
How would you get ASP.NET running in Apache web servers - why would you even do this?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Explain different types of Caching techniques in ASP.NET?
0 Answers Sans Pareil IT Services,
What does occur first in ASP.Net, Authentication or Authorization?
How Session outproc in Sqlserver stored?
Turn Off ASP Session State on an IIS 5.1 Web Site