What is the use of web.config? Difference between
machine.config and Web.config?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
can i call the java script to code behind file?if yes how?
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.
Can private assembly be used for more than one application? If so how?
when a request is made in Life cycle of ASP.NET page .
Explain server control extensibility with reference to asp.net 2.0 ?
Which color scheme in a Repeater control can you provide alternatively?
Explain the difference between web user control and web custom control?
What is the significance of attaching a profile while creating a user?
Which method do you use to kill explicitly a users session?
Difference between Array and ArrayList? How Array is benifitful than ArrayList?
How do you do client-side validation in .net? How to disable validator control by client side javascript?
Why is an object pool required?
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)