O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

jQuery in Your Visual Studio Project

The jQuery framework is part of nearly all the Visual Studio web project templates. This includes the readable version of the file (useful for debugging) jquery.js and the minified version (for faster processing in production) jquery-min.js. Recall from Chapter 17, “Building Modern Websites with ASP.NET 5” that these files are stored in the bower_components folder of the ASP.NET 5 Web Site template and end up in the wwwroot/lib/jquery folder. Chapter 17 also introduced Bower and the bower.js file for including client scripts in your project. The ASP.NET 5 template uses this approach to include jQuery in the project.

Recall from the prior section that you need to add a reference to your page for any JavaScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required