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: Strategies for ASP.NET Core Developers

65 views

Published on

In this talk from Techorama Netherlands 2018, I show how to use NPM, Yarn, and other solutions for the newly defunct Bower package manager.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Beyond Bower: Strategies for ASP.NET Core Developers

  1. 1. Shawn Wildermuth Microsoft MVP, Author, and Speaker https://wildermuth.com @shawnwildermuth Beyond Bower: Strategies for ASP.NET Core Developers
  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 Pros: Largest Repository Actively Developed for Server-side Venerable Strong Ecosystem
  8. 8. Node Package Manager Cons: Still need to solve Deployment Needs Middleware for Dev-time
  9. 9. Demo Bower to NPM
  10. 10. Yarn Pros: Layered over NPM Uses NPM Repository Improved Dependency Walking Improved Performance Deterministic Installs (lock files)
  11. 11. Yarn Cons: Still need to solve Deployment Separate installation (not just NPM pkg) Owned by FB and may share usage info
  12. 12. Demo Bower to Yarn
  13. 13. Library Manager Pros: Handles Deployment Works well if you are VS centric Great if you think npm/yarn are overkill
  14. 14. Library Manager Cons: Does not manage dependencies Uses CDNs and File System to find files
  15. 15. Demo Bower to Libman
  16. 16. Hybrid Approach? Use LibMan and NPM?
  17. 17. Demo Hybrid Approach
  18. 18. Takeaways… Important Links: My Blog: wildermuth.com NPM: npmjs.com Yarn: yarnpkg.com LibMan: shawnw.me/corelibman

×