Saturday, December 1, 2018

.Net Core | Using Libraries & Packages

  • Server-side Libraries
    Nuget is the source for all kind of server side libraries and packages.
  • Client-side Libraries
    For client side libraries like js and css, its recommended to refer them directly from CDN, to leverage their fast loading. If want to use them locally than these can be downloaded from Node Package Manager (NPM).
    You can download client side tools from NPM or command line or MS package installer.
How to use NPM (Node Package Manager)
  1. Add new npm Package Configuration file.


  2. Add whatever packages you want to add in devDependencies. 
  3. Hundreds of useful client side packages available in NPM like Jquery and bootstrap.

  4. When you add libraries in NPM configuration file (package.json), visual studio automatically installs them.


  5. Its install in hidden node_modules folder, and in lib folder in wwwroot. 
  6. you can than copy/keep only required minified versions of libraries in www folder.

CI/CD - Safe DB Changes/Migrations

Safe DB Migrations means updating your database schema without breaking the running application and without downtime . In real systems (A...