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 Difference between Application object and Session Object
if u r projet consist of 4 people means how can u manage the file
What is server side session?
If there are two web.config files in a application which config files will get priority?
How to upload a file using file upload control inside the Update Panel???
What is smart navigation?
About writting a query and SP which is better ?
How to write test case (Unit test plan)
What’s difference between “optimistic” and “pessimistic” locking?
Explain the difference between value type and reference type?
What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.
What is difference between web api and web services?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)