• Claymore behaviors are configurable in respectively web.config or app.config.

If you chose to install the Visual Studio integration feature, an xsd file has been deployed that enable Intellisense in the editor.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  
  <configSections>
    <section name="Claymore" type="Claymore.Configuration.ConfigSectionHandler, Claymore, Version=1.0.2.0, Culture=neutral, PublicKeyToken=0c92c1fcefb3e8b3"/>
  </configSections>

  <Claymore xmlns="http://www.codeplex.com/Claymore">
    <ViewsAssemblies>
      <Add assemblyName="Clock.Views"/>
    </ViewsAssemblies>
    <PresentersAssemblies>
      <Add assemblyName="Clock.Presenters"/>
    </PresentersAssemblies>
  </Claymore>
  
</configuration>

Note : The xmlns attribute will give you access to the intellisense.

Note : Unfortunately, applying a schema to one of the default configuration sections (system.web in a web.config for example), will enable the intellisense, but .NET will be unable to parse the configuration file at runtime. If IntelliSense is required on a default node, you can add the xmlns attribute, but you must remove it before running the application or the parsing of the configuration file will fail.

Last edited Feb 18, 2010 at 9:37 PM by Fab_Michellonet, version 1

Comments

nicov Mar 17, 2011 at 9:02 AM 
Maybe it would be nice to add an example for the Config Api?