Machine.config Shrinks

Tuesday, April 26, 2005

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.”


Comments
Raymond Lewallen Tuesday, April 26, 2005
So where are the defaults... hardcoded into the fx now?
Scott Wednesday, April 27, 2005
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...
Comments are now closed.
by K. Scott Allen K.Scott Allen
My Pluralsight Courses
The Podcast!