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 the purpose of url encoding?
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.
3 Answers Consagous, Phoenix Technologies,
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
What is view state and how this can be done and was this there in asp?
11 Answers Accenture, KDOT, Mphasis,
Hi, I Dont know about Application and Session State management. Can anyone explain me with simple example?
what is CTS?
Can you set the session out time manually?
Webconfig file is cofiguration of server or browser?
What is a windows service?
what is abstract class and method..
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
0 Answers Sans Pareil IT Services,
Explain different types of validators in asp.net?