Solved

How to tell if Visual Studio 2012 is using a referenced script

Posted on 2013-06-14
3
236 Views
Last Modified: 2013-07-25
I've inherited a file that contains references to external JavaScript files.
Is there a way I can tell if they are actually being used by the project?  I've commented them out and everything still seems to work, but I know that the minute I make it go live it will break....
0
Comment
Question by:GenericCog
  • 2
3 Comments
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39248110
0
 

Author Comment

by:GenericCog
ID: 39257072
I should have specified that this is an MVC4 project using Visual Studio 2012.
Your suggestion to use WARI (Web Application REsource Inspector) does not fit my requirement.
0
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39259629
It shouldn't matter.  It's going to crawl the website to find any unused calls to javascript, the only gotchya is that it's not looking at server side code to determine any dynamic calls.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now