Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

.NET Deep Dive: NuGet Package Manager

via LinkedIn Learning

Overview

Learn about NuGet integration within Visual Studio and the Visual Studio command line.

Syllabus

Introduction
  • .NET package management with NuGet
  • What you should know
  • How to access the sample code on GitHub
1. Package Managers Explained
  • NuGet: The .NET package manager
  • The NuGet tools
  • Install the NuGet CLI
  • Install the .NET Core CLI
  • Create and publish package
  • Find and consume package
  • Explore the NuGet Gallery site
  • Tool and template package types
2. Tour the NuGet Tools in Visual Studio
  • Install NuGet in Visual Studio
  • Tour the sample projects
  • The NuGet Package Manager tools
3. Install Packages with Visual Studio Tools
  • Install package into .NET Framework project
  • Install package into a .NET Core project
  • Install Entity Framework package
  • Where are package files installed?
  • Manage packages for multiple projects
  • Switch from packages.config to PackageReference
4. Other Package Manager Concepts
  • Package versioning
  • Package dependencies
  • Enable Package Restore in Visual Studio
  • Edit version number in PackageReference
  • How Package Restore installs packages
  • Run Package Restore manually
  • ASP.NET and client-side package managers
5. Other NuGet Actions in Visual Studio Tools
  • Update a package
  • Work with alternate versions of a package
  • Uninstall a package
6. Use a Private NuGet Feed
  • Create a private local feed
  • Download a package from Nuget.org
  • Add package to the local feed
  • Add multiple packages to the local feed
  • Install a package from local feed
7. Use the NuGet Manager Console Integration
  • Work with Package Manager Console
  • Use the console to explore packages
  • Use the console to install a package
  • Install other package versions
  • The other NuGet commands
8. NuGet in Windows Terminal
  • Windows Terminal and NuGet
  • List packages with CLI
  • Install a package with CLI
  • Update and remove a package with CLI
9. Visual Studio Code
  • NuGet and the Visual Studio Code editor
  • Use the dotnet CLI in Visual Studio Code
  • Install a NuGet Marketplace extension
  • Use the NuGet Package Manager extension
  • The NuGet Package Manager GUI extension
10. Custom NuGet Packages
  • Explore the example .NET library
  • Explore the Razor Pages application
  • Install NuGet Package Explorer
  • Create a custom NuGet package
  • Explore the content of the .nupkg file
  • Publish a package to a private feed
  • View a package in NuGet Package Manager
  • Publish a newer version of package
  • Install the custom NuGet package
Conclusion
  • More about packages and dependencies

Taught by

Walt Ritscher

Reviews

Start your review of .NET Deep Dive: NuGet Package Manager

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.