Client-side library acquisition in ASP.NET Core with LibMan
- 2 minutes to read
In this article
By Scott Addie
Library Manager (LibMan) is a lightweight, client-side library acquisition tool. LibMan downloads popular libraries and frameworks from the file system or from a content delivery network (CDN). The supported CDNs include CDNJS and unpkg. The selected library files are fetched and placed in the appropriate location within the ASP.NET Core project.
LibMan use cases
LibMan offers the following benefits:
- Only the library files you need are downloaded.
- Additional tooling, such as Node.js, npm, and WebPack, isn’t necessary to acquire a subset of files in a library.
- Files can be placed in a specific location without resorting to build tasks or manual file copying.
For more information about LibMan’s benefits, watch Modern front-end web development in Visual Studio 2017: LibMan segment.
LibMan isn’t a package management system. If you’re already using a package manager, such as npm or yarn, continue doing so. LibMan wasn’t developed to replace those tools.