what if we delete web.config or machine.config?

will a website work if we delete webconfig....or if we
delete machine config?

Answers were Sorted based on User's Feedback



what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / neha

If we are not using any values in config file then it wont effect the website,connestionstring can be given in sqlconnection object not necessary to take it from config file

Is This Answer Correct ?    10 Yes 3 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / gaurav

by deleting the web.config or the machine.config files will
definitely create compilation errors because it's the config
files where you specify the settings. Web.config files is
not only for mentioning the connection strings but it's
implementation is more than that.

Is This Answer Correct ?    3 Yes 1 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / guest

if u access the database then your website wont work.....

Is This Answer Correct ?    0 Yes 6 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / giri

Yes if u delete web.config then ur application automatically
creates the web.config file and executes

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More ASP.NET Interview Questions

repeater and gridview diff? Why is repeater fast than gridview?

3 Answers   TCS,


Explain advantages of caching?

0 Answers  


What are the type of session in Asp.Net

3 Answers  


What does asp in asp.net stand for?

0 Answers  


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

0 Answers   Swatz Oils,






What is three major points in WCF?

9 Answers   Syntel,


What is asp.net mvc5? : Asp.Net MVC

0 Answers  


How do cookies work? Give an example of their abuse.

0 Answers  


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


i cant get Primary output selection from the Dialog box While Creating Setup and Deployment the web application how to solve it..

1 Answers  


What is the difference between ASP Session State and ASP.Net Session State?

0 Answers  


List some of the important session state modes of asp.net.

0 Answers  


Categories