views:

74

answers:

1

I noticed in the default web.config files for the latest release of MVC distributed with VS 2010 Beta 2 that many of the sections are now missing.

With a little research I found ScottGu's article explaining why this was.

My question is is there a new way to load namespaces in this release of .net and should we no longer be utilizing the "configSections" within the web.config? Just to note it does still work to place a configSection in the web.confg.

Sample from the Unity web.config Eg:

<configSections>
 <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration"/>
</configSections>
A: 

The web.config is still the correct place and should work just as before - its just easier now with all the 'clutter' removed.

geoff