What is the use of web.config? Difference between
machine.config and Web.config?

Answers were Sorted based on User's Feedback



What is the use of web.config? Difference between machine.config and Web.config?..

Answer / karthikkommandi

Web.Config for Application Level Settings
Machine.Config is for Server level Settings
If any Settings are not Specified in Web.Config It will get
from Machine.Config by Default

Is This Answer Correct ?    29 Yes 4 No

What is the use of web.config? Difference between machine.config and Web.config?..

Answer / krupali

Web.config file is a XML-based configuration file for
asp.net application.It includes the settings for
customizing security,state management,memory management and
much more. While machine.config file defines the supported
configuration file section,configure asp.net worker process
and registers providers that can be used for advanced
features such as profiles,membership and role-based
security.so web.config file provides the application level
and session level information.

Is This Answer Correct ?    19 Yes 3 No

What is the use of web.config? Difference between machine.config and Web.config?..

Answer / vimal

web.config file is used to define the confiquration
settings for an ASP.net application.
m/c.config web.config
it is automatically it is automatically
installed while installing created while creating
visual studio.net ASP.net application

also called as machine also called
level configuration file. application level
cofiguration file.

this file is at the inherits the setting from
highest level in the machine.config file
configuration hirarchy.

only one m/c.config
file atmost.

Is This Answer Correct ?    17 Yes 4 No

What is the use of web.config? Difference between machine.config and Web.config?..

Answer / yograj pandey

Minimize
Asp .net Web.config Configuration File
Minimize
What is Web.Config File?

Web.config file, as it sounds like is a configuration file
for the Asp .net web application. An Asp .net application
has one web.config file which keeps the configurations
required for the corresponding application. Web.config file
is written in XML with specific tags having specific meanings.
What is Machine.config File?

As web.config file is used to configure one asp .net web
application, same way Machine.config file is used to
configure the application according to a particular machine.
That is, configuration done in machine.config file is
affected on any application that runs on a particular
machine. Usually, this file is not altered and only
web.config is used which configuring applications.

Is This Answer Correct ?    6 Yes 1 No

What is the use of web.config? Difference between machine.config and Web.config?..

Answer / gaurav kumar soni

Web config File is Most Important part of any application. without web config file you can't execute any web application. In web config we declare all setting like Connection String, Memory Management, customizing security,state management and
much more. While machine.config file defines the supported
configuration file section,configure asp.net worker process
and registers providers that can be used for advanced
features such as profiles,membership and role-based
security

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Explain parts of assembly?

0 Answers  


How is mvc different from asp.net? : Asp.Net MVC

0 Answers  


All kind of access specifiers for a class and for methods ?

1 Answers   MMTS,


Define WCF ABC , Diffrent Contract. Diff b/w Wcf and in webservice

2 Answers   Syntel,


what is caching?

4 Answers   Microsoft,


when using windows API in .net then it is managed code or Unmanaged code?

2 Answers  


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


Describe paging in asp.net?

0 Answers  


What is difference between view and partial view?

0 Answers  


How do you add a javascript function for a link button in a datagrid ?

4 Answers   Microsoft,


explain ado.net

6 Answers  


What are asp.net web forms?

0 Answers  


Categories