Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SCRIPT REFERENCE PROFILER TO GET JAVASCRIPT REFERENCE DETAILS
WhatsApp
Jaish Mathews
14y
12
k
0
0
25
Blog
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.
Up Next
Identity Column Details Findout in SQL Server 2008
Ebook Download
View all
Printing in C# Made Easy
Read by 22.3k people
Download Now!
Learn
View all
Membership not found