Machine.config Shrinks

Something I just noticed in 2.0: my machine.config is around 17 KB in size, compared to over 200 KB in 1.1. The file seems practically empty. A little comment at the top of the file reveals why:

“To improve performance, machine.config should contain only those settings that differ from their defaults.”

posted on Monday, April 25, 2005 7:48 PM by scott

Comments

Tuesday, April 26, 2005 9:02 AM by Raymond Lewallen

# re: Machine.config Shrinks

So where are the defaults... hardcoded into the fx now?
Tuesday, April 26, 2005 10:19 PM by Scott

# re: Machine.config Shrinks

I think that is essentially what is happening - I haven't dug around enough yet to prove it. I imagine it might have a benefit in server side apps since machine.config was large - and with all the provider configuration in asp.net 2 it could only grow and grow in size...