Skip to content

3.1. Declare configuration

franciscoserdio edited this page Aug 8, 2016 · 1 revision

Configuration goes in the Web.Config file

SectionGroup inside the <configSections>

This section DECLARES that:

  • There will be a section group "appErrors" defining the configuration

  • It will contain a section "appErrorsSection"

  • The section will be handled by the class "FW.ErrorHandler.AppErrorsSection", at the assembly "FW.ErrorHandler"

    <configSections>
      <sectionGroup name="appErrors">
        <section name="appErrorsSection"
                 type="FW.ErrorHandler.AppErrorsSection, FW.ErrorHandler"
                 restartOnExternalChanges="true"
                 allowLocation="true"
                 allowDefinition="Everywhere"/>
      </sectionGroup>
    </configSections>

Clone this wiki locally