Managing frontend dependencies with Bower
Bower is a frontend package manager. It is used in the web development world to install and uninstall JavaScript and CSS frameworks, including their fonts. The official documentation can be found here: http://bower.io/.
In this recipe, we will learn how to manage frontend dependencies with Bower.
Getting ready
We will assume that we have already installed Visual Studio 2015 Community Edition, which is a free version of Visual Studio for Windows.
How to do it...
- To install a frontend dependency with Bower in ASP.NET Core project using Visual Studio, we just have to right-click the project name in
Solution Explorerand selectManage Bower Packagein the contextual menu:

Using the Manage Browser Packages window, we can install, uninstall, or update packages such as Bootstrap, jQuery, AngularJS, and a lot more. The Manage Bower Packages dialog box is now open:

- Let's install the
LoDashlibrary with Bower by clicking theInstallbutton.
We can see in the Output...