What is web.config and machine.config ?
Answers were Sorted based on User's Feedback
Answer / dhananjay nazare
web.Config: Web.Config file is maintained within a
particular Web application and the Configuration setting
specified within web.config file is applicable to that
application only.
Machin.Config: Machin.Config file is maintained within .Net
framework derectories and configuration setting within
Machin.Config file affects all the managed application
deployed on that machin
| Is This Answer Correct ? | 56 Yes | 5 No |
Answer / naren
1. web.config and machine.config both are the configuration
files
2. web.config files contains settings specific to a web
application, machine.config file contains settings to
computer.
3. configuration system first searches settings in the
machine.config file next look at web.config file
4. web.config file exists within the web application,
machine.config file exists in the
c:\windows\microsoft.net\framework\version\config file
5. if we remove web.config file it does not contains any
connection string settings the web application will run, if
we remove machine.config file no one windows and web
application will run.
| Is This Answer Correct ? | 55 Yes | 5 No |
Answer / prakash j
web.config apply settings to each web application.
machine.config apply settings to all asp.net web application
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a viewbag?
What is cookieless session id explain in brief?
What is web router?
What is WebService ?
8 Answers Tanla Solutions, Yahoo,
Explain weak typing and strong typing.
If there are two web.config files in a application which config files will get priority?
Define repository pattern in asp.net mvc? : asp.net mvc
Which is the parent class of the web server control?
Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
under which namespaces connection strings can be defined?
What's the difference between viewstate and sessionstate?
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)