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 |
What is http only cookie?
Describe the Server Control Events of ASP.NET?
0 Answers SwanSoft Technologies,
Give 2 examples for scenarios when routing is not applied?
How u refer webservices?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
can sn.exe can be used before gacutil.exe
Define state managenent?Descibe state managenent technique which maintain the information at server site focusing it IDS features and limitations?
How will you maintain versioning in asp.net 2.0?
Differentiate between a page theme and a global theme?
How would you turn off cookies on a page of a website?
Define page output caching?
What is enableviewstatemac in asp net?