Skip to content
Shannon Deminick edited this page Apr 16, 2013 · 7 revisions

ClientDependency Framework

CDF Configuration

CDF has many configuration option if you need to custom how it works. By default our Nuget package ships with the minimal configuration.

Minimum config

At a minimum you need to register:

HttpHandler
<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>
HttpModule
<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>
CDF Config section
<configSections>
	<section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false"/>
</configSections>

<clientDependency version="1" />
Clone this wiki locally