Hi....
Ques : Hello all of you now I have a some conceptual problem please explain If we remove web.Config or machine.Config from the application then, is this application will works?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anuja PawarPosted Jan 10, 2012, 1:55 AM
Satyapriya NayakPosted Jan 9, 2012, 1:58 PM
Web.config file defines configuration for a webproject.Using AppSetting section we can define user defined values.Example below defined is ConnectionString section which will be used through out the project for database connection.
If we remove the web.config file from the application it will work provided the application does not use any settings from web.config file like ConnectionString.
Web.config files apply settings to each web application , while Machine.config file
apply settings to all ASP.NET applications.
If we remove machine.config file, no application in .net neither windows nor web apps will work
Thanks