Description: When working in teams or when people are able to publish add-on components for your project, it becomes very cumbersome to try to ensure that you are not loading duplicate JavaScript files or CSS Stylesheets. It would be much nicer to just tag your control as being dependent on specific client files and not worrying about if they ve already been included with a page or other files. This was the primary reason why the ASP.Net ClientDependency framework was created. ClientDependency also manages all of the script/style file compression, combination, minification and persistence for you. It will even detect and process script/styles that aren t registered with the framework and other requests such as json that can be minified/compressed. All of this is fully configurable if you need to modify the default behavior.
To Search:
File list (Check if you may need any files):
BuildProcessTemplates
.....................\DefaultTemplate.xaml
.....................\UpgradeTemplate.xaml
ClientDependency.Mvc
....................\ClientDependency.Core.Mvc.csproj
....................\ClientDependency.Core.Mvc.csproj.vspscc
....................\DependencyRenderer.cs
....................\HtmlHelperExtensions.cs
....................\MvcFilter.cs
....................\MvcRogueFileFilter.cs
....................\Properties
....................\..........\AssemblyInfo.cs
....................\ViewContextExtensions.cs
ClientDependency.sln
ClientDependency.vssscc
ClientDependency.Web.Test
.........................\App_Data
.........................\ClientDependency.Web.Test.csproj
.........................\ClientDependency.Web.Test.csproj.vspscc
.........................\Controllers
.........................\...........\TestController.cs
.........................\Controls
.........................\........\Footer.ascx
.........................\........\Footer.ascx.cs
.........................\........\Footer.ascx.designer.cs
.........................\........\Header.ascx
.........................\........\Header.ascx.cs
.........................\........\Header.ascx.designer.cs
.........................\........\MyCustomControl.cs
.........................\........\Sidebar.ascx
.........................\........\Sidebar.ascx.cs
.........................\........\Sidebar.ascx.designer.cs
.........................\Css
.........................\...\ColorScheme.css
.........................\...\Content.css
.........................\...\Controls.css
.........................\...\CustomControl.css
.........................\...\Default.css
.........................\...\OverrideStyles.css
.........................\...\Site.css
.........................\...\Test.css
.........................\Default.aspx
.........................\Default.aspx.cs
.........................\Default.aspx.designer.cs
.........................\Global.asax
.........................\Global.asax.cs
.........................\Js
.........................\..\AnotherTest.js
.........................\..\EncodingTestANSI.js
.........................\..\EncodingTestUCS2BigEndian.js
.........................\..\EncodingTestUCS2LittleEndian.js
.........................\..\EncodingTestUTF8.js
.........................\..\EncodingTestUTF8WithoutBOM.js
.........................\..\FooterScript.js
.........................\..\HtmlIncludeTest1.js
.........................\..\HtmlIncludeTest2.js
.........................\..\jquery-1.3.2.min.js
.........................\..\MessageService.js
.........................\..\RogueScript1.js
.........................\..\RogueScript2.js
.........................\..\SomeLazyLoadScript.js
.........................\Models
.........................\......\TestModel.cs
.........................\Pages
.........................\.....\Default.aspx
.........................\.....\Default.aspx.cs
.........................\.....\Default.aspx.designer.cs
.........................\.....\embedded.css
.........................\.....\EmbeddedResourceTest.aspx
.........................\.....\EmbeddedResourceTest.aspx.cs
.........................\.....\EmbeddedResourceTest.aspx.designer.cs
.........................\.....\EncodingTest.aspx
.........................\.....\EncodingTest.aspx.cs
.........................\.....\EncodingTest.aspx.designer.cs
.........................\.....\ForcedProviders.aspx
.........................\.....\ForcedProviders.aspx.cs
.........................\.....\ForcedProviders.aspx.designer.cs
.........................\.....\HtmlIncludeTest.aspx
.........................\.....\HtmlIncludeTest.aspx.cs
.........................\.....\HtmlIncludeTest.aspx.designer.cs
.........................\.....\JSONCompressionTest.aspx
.........................\.....\JSONCompressionTest.aspx.cs
.........................\.....\JSONCompressionTest.aspx.designer.cs
.........................\.....\LazyLoadProviderTest.aspx
.........................\.....\LazyLoadProviderTest.aspx.cs
.........................\.....\LazyLoadProvi