Many of you know MS open source plan, http://www.codeplex.com/. You can down load this library from there, freely!!. Now copy it locally and add a reference to your project. Then add below entries to your
Web.Cong like below. Here we are registering our new ScritReferenceProfiler library
<pages>
<controls>
<add tagPrefix="asp" namespace="ScriptReferenceProfiler"
assembly="ScriptReferenceProfiler, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null"/>
</controls>
</pages>
You are now ready to use your control in your .aspx page like below
<asp:ScriptReferenceProfiler runat="server" />
Run the alication and you will see 2 outputs
1. Information on total JS files referred with details.
2. A link to newly created single script, which can be used as a replacement for
all of your individual scripts. Normally saying CompositeScript.
CompositeScritiing is a new feature came with asp.net ajax 3.5 SP1 along with AJAX
HISTORY, http://www.c-sharpcorner.com/UploadFile/jaishmathews/782/?
ArticleID=d3d443a8-670c-4226-b8e6-e68278a07b15 . I am leaving CompositeScripting
part up to you people. Here to start with CompositeScripting, the tool most needed
is ScriptReferenceProfiler.
Loading

Join the conversation! Your thoughts help the community grow.