Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Beyond Bower

80 views

Published on

Strategies for Client-side Package Management in ASP.NET Core

Published in: Software
  • Be the first to comment

  • Be the first to like this

Beyond Bower

  1. 1. Beyond Bower: Strategies for ASP.NET Core Developers Shawn Wildermuth Microsoft MVP, Speaker, and Filmmaker https://wildermuth.com @shawnwildermuth
  2. 2. Who Am I? Author, Instructor, Coach • Pluralsight Author • > 20 Courses to my name • http://shawnw.me/psauthor • Wilder Minds Training • Courses on Vue, Bootstrap 4 & Font Awesome • http://shawnw.me/my-courses • Making a Film • Hello World Film • http://helloworldfilm.com
  3. 3. BEYOND BOWER
  4. 4. What Bower Was… • Client-side Dependency Management • Repository for Dependencies
  5. 5. What Bower Wasn’t… • Production Packaging for Dependencies
  6. 6. Library ManagerNode Package Manager (NPM) Yarn Alternatives to Bower
  7. 7. Node Package Manager Benefits • Largest Repository • Actively Developed for Server-side • Venerable • Strong Ecosystem
  8. 8. Node Package Manager Risks: • Still need to solve Deployment • Needs Middleware for Dev-time
  9. 9. Demo NPM
  10. 10. Yarn Benefits: • Layered over NPM • Uses NPM Repository • Improved Dependency Walking • Improved Performance • Deterministic Installs (lock files)
  11. 11. Yarn Risks: • Still need to solve Deployment • Separate installation (not just NPM pkg) • Owned by FB and may share usage info
  12. 12. Demo Yarn
  13. 13. Library Manager Benefits: • Handles Deployment • Works well if you are VS centric • Does Now Support a CLI • Great if you think npm/yarn are overkill
  14. 14. Library Manager Risks Risks: • New • Need VS2017.8 currently • Does not manage dependencies • Uses CDNs and File System to find files
  15. 15. Demo LibMan
  16. 16. Demo LibMan - Hybrid
  17. 17. Links NPM • npmjs.org Yarn • yarnpkg.com LibMan • github.com/aspnet/LibraryManager My Blog • wildermuth.com

×