-
-
Notifications
You must be signed in to change notification settings - Fork 65
Configuration
Shannon Deminick edited this page Apr 16, 2013
·
7 revisions
CDF has many configuration option if you need to custom how it works. By default our Nuget package ships with the minimal configuration.
At a minimum you need to register:
<system.web>
<httpHandlers>
<add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core "/>
</httpHandlers>
</system.web>
<system.webServer>
<handlers>
<remove name="DependencyHandler"/>
<add name="DependencyHandler" preCondition="integratedMode" verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core "/>
</handlers>
</system.webServer>
<system.web>
<httpModules>
<add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core"/>
</httpModules>
</system.web>
<system.webServer>
<modules>
<remove name="ClientDependencyModule" />
<add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core"/>
</modules>
</system.webServer>
<configSections>
<section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false"/>
</configSections>
<clientDependency version="1" />