|
| |||||||||
| Tags: aspnet, file, mahcineconfig, net, webconfig |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Difference between Web.Config and Machine.Config File
Hello, I have learned the .net and one of my interview time I was asked by the interviewer that tell me Difference between Web.Config and Machine.Config File?. It is not possible for me to answer this question. If anyone knows the difference then please provide me that. I think this concept is in the asp.net as that question is asked in the asp.net interview. |
|
#2
| |||
| |||
| Re: Difference between Web.Config and Machine.Config File
I don't have that much knowledge about the .net but, I know that machine. config is a file which is configuration file and it comes under the IIS. And if you consider the web.config then it is the configuration file for a application or folder. So, you can simply come to know that machine.config is having the machine level configuration. And web.config is a application/folder level configuration. |
|
#3
| ||||
| ||||
| Re: Difference between Web.Config and Machine.Config File
web.config: As you come to know from the extension that this is the configuration file and it is used in the Asp .net web application. This file is comes into the asp.net application and it is having configuration which is required for the corresponding application. Machine.config is Whole .Net Application specific. It is also a configuration file. If you are using this file then it will applicable for the entire machine. |
|
#4
| ||||
| ||||
| Re: Difference between Web.Config and Machine.Config File
Difference between Machine.Config and Web.Config Machine.Config:
Web.Config:
|
|
#5
| ||||
| ||||
| Re: Difference between Web.Config and Machine.Config File
In web.config we can store following :
|
|
#6
| ||||
| ||||
| Re: Difference between Web.Config and Machine.Config File
Machine.Config:-
Web.Config:-
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Difference between Web.Config and Machine.Config File" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Config.xml not specified. Valid config.xml file must be authored when deploying '(null)' Error 25004 | Jaiya | Operating Systems | 8 | 18-04-2011 09:09 AM |
| Error parsing c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config on startup | Jaiya | Operating Systems | 5 | 17-04-2011 09:51 AM |
| Config file of Crysis 2 | Edgar Arular | Video Games | 5 | 26-03-2011 11:22 AM |
| VB .net App.Config file in the project | AmolP | Software Development | 3 | 06-02-2009 10:26 PM |
| Office 2007 Config.xml config | Tim Mills | Office Setup | 2 | 06-07-2006 02:13 PM |