RE: If we remove web.config or machine.config from the...
No.I think the application will never work and there is a danger that some others applications might not work.Because the machine.config is the main file where u define the system settings.
RE: If we remove web.config or machine.config from the...
frist of the webconfig will for a particlular web appln where as the macinre config for the whole system if ur gioing to remove the amchine or chaning the contents of machine config then the asp.net appln will not runif we r going to delete the web config then then that patriclar appln will not run
RE: If we remove web.config or machine.config from the...
No it wont work . And an error message will be displayed as Error while trying to run project:unable to start debugging on the webserver. The project is not configuredto be debugged. The web.config file contains nested sections marked by tags.It contains the <compilation> tag which marks the beginning of the <compilation> section.
RE: If we remove web.config or machine.config from the...
If we remove web.config the application will work provided the application does not use any settings from web.config file.If we remove machine.config file no application in .net (i.e) neither windows nor web apps will work
RE: If we remove web.config or machine.config from the...
As per Ramadevi. This will give error if we use visual studio to compile the application. If we compile the application through comand prompt this will work in following conditions.
We should not depend on the web.config file for any reference.
RE: If we remove web.config or machine.config from the...
if you remove the web.config file the website will still work. when you press F5 it will prompt you for the web.config file and if you press Crtl + F5 then it will not complile. It also will successfuly publish the site.
RE: If we remove web.config or machine.config from the...
no if we remove it wont work. Because the total progress and the compilation running of the application will be started from the web.config only. It contains the information like where the assemblies links or references are maintained and they start from this file..