Completely remove WCSF 2008 from solution

Topics: Web Client Software Factory
Oct 7, 2010 at 11:20 AM

Hi,

What sections of the web.config do I need to remove / change to remove all references to WCSF 2008 from my solution?

 

Thanks

Oct 8, 2010 at 6:34 PM
Edited Oct 8, 2010 at 6:34 PM

Hi,

When you create a new Web Client Software Factory the following section groups are added:

  <sectionGroup name="compositeWeb">
    <section name="modules" type="Microsoft.Practices.CompositeWeb.Configuration.ModulesConfigurationSection, Microsoft.Practices.CompositeWeb"/>
    <section name="authorization" type="Microsoft.Practices.CompositeWeb.Configuration.AuthorizationConfigurationSection, Microsoft.Practices.CompositeWeb"/>
  </sectionGroup>
  <section name="securityConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Security.Configuration.SecuritySettings, Microsoft.Practices.EnterpriseLibrary.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
  <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
  <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Therefore, if you remove the aforementioned sections from your config file, you should be able to remove the WCSF dependencies in your project.

Hope this helps.

Fernando Antivero
http://blogs.southworks.net/fantivero