A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Wednesday, November 19, 2008

<microsoft:ScriptReferenceProfiler> for ScriptCombining, available at CodePlex, ASP.NET AJAX

If you have seen Bertrand's video on Script Combining to improve AJAX performance, you must have really felt like using it in your site to figure out the scripts downloaded in your page and minimizing the size, improving performance etc.,

Well, this post is just to say that, the ScriptReferenceProfiler is available at CodePlex http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=13356

You need to download the binaries and add it as a reference to your website/project.  Once you add the reference, you can add the page directive declaration as below:-

%@ Register Assembly="ScriptReferenceProfiler" Namespace="ScriptReferenceProfiler" TagPrefix="cc1" %>

and then start using it in your page as below:-

<cc1:ScriptReferenceProfiler ID="ScriptReferenceProfiler1" runat="server" />

Script Combining is one of enhancements to ASP.NET AJAX shipped as a part of .NET 3.5 SP1.  The actual process of script combining is when you identify your scripts and put them under <ComositeScript> collection under ScriptManager.  The ScriptRefereceProfiler is just an utility (great utility by the way!) to identify your scripts.

Therefore, you can use the feature today in your websites and minimize the script downloads and enhance the performance. 

Cheers !!!



Source Click Here.

No comments:

Post a Comment

Post your comments here:

Originals Enjoy