What is difference between machine.config and Web.Config?
Answers were Sorted based on User's Feedback
Answer / sandip divate
machine.config is for configuration settings of all the
applications on a machine. where as web.config is
application specific.it contains configuration settings for
a application.
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / madhunathanv
Web.config is particular WebApplication Specific,it has
diff web.config files for different applications.
Machine.config is Whole .Net Application specific ,it is
only one.ie..,machine.config applies to the entire machine
The Configuration system first searches settings in
machine.config file & then looks in application
configuration files(web.config)
AFAIK
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / suresh
In Machine.config file you can store,
1. Connection strings
2. Membership
3. RoleManager
4. Profile
5. HttpHandlers
in web.config
1. Database connections
2. Session States
3. Error Handling
4. Security
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / kannan
Web.Config Files - It is used to maintain the all type of
configuration like that Database connection and Error log
configuration and also maintain the Authenticate of user
security of the web application
Machine.config - only one file was created in your
microsoft .net folder when you installed the microsoft
visual studio.
So, it is used to configuration for the particular server
machine.
| Is This Answer Correct ? | 6 Yes | 0 No |
If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.
What is session management in web application?
What does aspcompat="true" mean?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
detail code for sql data connections?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What are Master Pages in ASP.NET? or What is a Master Page?
What is state management techniques in asp.net?
State management in asp.net ?
You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?
If(dropdownlist1.selectedIndexChanged==true) { //code } else { //code } I am getting error in If condition, so can u pls give me a solution.
Explain difference between friend and protected friend?
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)