views:

197

answers:

1

Okay,

I am wondering having clear web.config file could be good but you know some shared web hosting companies don't allow us to touch things like machine.config and etc.

So If a lot of things have been moved onto machine.config, then will we be allowed to change things like we used to through web.config file.

+1  A: 

Nothing is changing in this regard with ASP.NET 4.0: the way the ASP.NET configuration model has always worked is that you can override settings in machine.config with a web.config in your site root and further in sub-directories.

Here is a summary of what's actually changing for ASP.NET 4.0 config files and the reasoning behind the decision, it's basically to reduce the file size, make things less complicated and easier to read: http://weblogs.asp.net/scottgu/archive/2009/08/25/clean-web-config-files-vs-2010-and-net-4-0-series.aspx

Peter McGrattan
Thanks. Instead of giving good answers like you, people are acting like a super hero and complaining about my question. If I knew the answer, I wouldn't ask here. Anyways, that's great to hear, because I needed to do some tricks to make the application work on my GoDaddy share hosting account.It kinda scared me when I heard that a lot of things were moved onto machine.config.
Braveyard