Tech Junkie Blog: ASP.NET Core : Add jQuery, Bootstrap, AngularJS Using bower.json

#ASPNETCore : Add #jQuery , #Bootstrap , #AngularJS Using bower.json  #javascript #webdev

  • In this blog post we are going to add the jQuery, AngularJS, and bootstrap libraries to our ASP.NET Core application.
  • Normally we will use NuGet to bring in these libraries but ASP.NET Core gives you the option to use bower to configure the dependencies that you will need on the client-side.
  • Open the bower.json file the markup should look like this

    {
    “name”: “asp.net”,
    “private”: true,
    “dependencies”: {
    }
    }

    3.

  • Save the bower.json file, once the file is saved a folder called “lib” will be created and will contain the bootstrap and AngularJS libraries

    ASP.NET Core Posts:

    How To Create An ASP.NET Core Application From Scratch
    ASP.NET Core : Add jQuery, Bootstrap, AngularJS Using bower.json

    Enable MVC On ASP.NET Core Application
    ASP.NET Core : Create Our First Controller and View  
    ASP.NET Core : Adding The Default View With _ViewStart.cshtml
    ASP.NET Core : Create A Responsive Layout With Bootstrap
    ASP.NET Core : Adding Font-Awesome For Northwind Cafe Navigation Icons
    ASP.NET Core : Add .

  • json Configuration Files With Library
    ASP.NET Core : Entity Framework Core Models For Northwind Cafe
    ASP.NET Core : Create The NothwindContext ( EntityFrameworkCore )
    ASP.NET Core : Configure project.json File To Support Entity Framework Core
    ASP.NET Core : Add NorthwindContext To Startup Class And Create Database
    ASP.NET Core: Seeding The NorwindCafe Database


@techjunkiejh: #ASPNETCore : Add #jQuery , #Bootstrap , #AngularJS Using bower.json #javascript #webdev

In this blog post we are going to add the jQuery, AngularJS, and bootstrap libraries to our ASP.NET Core application.  Normally we will use NuGet to bring in these libraries but ASP.NET Core gives you the option to use bower to configure the dependencies that you will need on the client-side.

1. First let’s make bower.json part of the “NorthwindCafe.Web” project, click on the “Show All Files” icon in solution explorer, then right click on the bower.json file, and then choose “Show in Solution Explorer”

Tech Junkie Blog: ASP.NET Core : Add jQuery, Bootstrap, AngularJS Using bower.json

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.