.NET Deep Dive: NuGet Package Manager
2h 39mIntermediate2021-07-15
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning
Course details
Most programming languages have an associated package management system that helps find and install code libraries and their dependencies. For the .NET developer, NuGet is the official package manager. In this course, longtime .NET programmer Walt Ritscher looks at the NuGet integration within Visual Studio and the Visual Studio command line. Walt shows you how to install, update, and remove packages from .NET projects, as well as how to search the public NuGet Gallery and create private repositories for your team. He also details the process of creating and publishing custom packages. If you’re a .NET programmer, understanding the Visual Studio package management system is vital knowledge, so join Walt as he takes a deep dive into the NuGet package manager.
Skills covered
NuGetSoftware DeploymentSoftware AdministrationIT AutomationSoftware Development ToolsNetwork and System AdministrationOpen SourceSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - .NET package management with NuGet
- 02 - What you should know
- 03 - How to access the sample code on GitHub
1. Package Managers Explained
- 04 - NuGet - The .NET package manager
- 05 - The NuGet tools
- 06 - Install the NuGet CLI
- 07 - Install the .NET Core CLI
- 08 - Create and publish package
- 09 - Find and consume package
- 10 - Explore the NuGet Gallery site
- 11 - Tool and template package types
2. Tour the NuGet Tools in Visual Studio
- 12 - Install NuGet in Visual Studio
- 13 - Tour the sample projects
- 14 - The NuGet Package Manager tools
3. Install Packages with Visual Studio Tools
- 15 - Install package into .NET Framework project
- 16 - Install package into a .NET Core project
- 17 - Install Entity Framework package
- 18 - Where are package files installed
- 19 - Manage packages for multiple projects
- 20 - Switch from packages.config to PackageReference
4. Other Package Manager Concepts
- 21 - Package versioning
- 22 - Package dependencies
- 23 - Enable Package Restore in Visual Studio
- 24 - Edit version number in PackageReference
- 25 - How Package Restore installs packages
- 26 - Run Package Restore manually
- 27 - ASP.NET and client-side package managers
5. Other NuGet Actions in Visual Studio Tools
- 28 - Update a package
- 29 - Work with alternate versions of a package
- 30 - Uninstall a package
6. Use a Private NuGet Feed
- 31 - Create a private local feed
- 32 - Download a package from Nuget.org
- 33 - Add package to the local feed
- 34 - Add multiple packages to the local feed
- 35 - Install a package from local feed
7. Use the NuGet Manager Console Integration
- 36 - Work with Package Manager Console
- 37 - Use the console to explore packages
- 38 - Use the console to install a package
- 39 - Install other package versions
- 40 - The other NuGet commands
8. NuGet in Windows Terminal
- 41 - Windows Terminal and NuGet
- 42 - List packages with CLI
- 43 - Install a package with CLI
- 44 - Update and remove a package with CLI
9. Visual Studio Code
- 45 - NuGet and the Visual Studio Code editor
- 46 - Use the dotnet CLI in Visual Studio Code
- 47 - Install a NuGet Marketplace extension
- 48 - Use the NuGet Package Manager extension
- 49 - The NuGet Package Manager GUI extension
10. Custom NuGet Packages
- 50 - Explore the example .NET library
- 51 - Explore the Razor Pages application
- 52 - Install NuGet Package Explorer
- 53 - Create a custom NuGet package
- 54 - Explore the content of the .nupkg file
- 55 - Publish a package to a private feed
- 56 - View a package in NuGet Package Manager
- 57 - Publish a newer version of package
- 58 - Install the custom NuGet package
Conclusion
- 59 - More about packages and dependencies