NuGet
The package manager for .NET: a NuGet package is a zip of compiled libraries that projects reference by name and version.
In more detail
Projects list packages with PackageReference items, and dotnet restore downloads them from nuget.org or another feed. EF Core, Polly, xUnit and Mapperly all arrive as NuGet packages.
Related terms
- dotnet restore — The dotnet command that downloads the NuGet packages a project depends on and records the resolved dependency graph.
- central package management — A NuGet feature that records every package version for a repository in one Directory.Packages.props file, so project files name packages without versions.
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
Taught in
- Package Feeds, Views And Upstream Sources — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- Solutions, Projects, and Target Frameworks — Modern .NET Core, C# & Enterprise Microservices
- Directory.Build.props, global.json and Central Packages — Modern .NET Core, C# & Enterprise Microservices
- Source-Generated Mapping with Mapperly — Modern .NET Core, C# & Enterprise Microservices
- Behavior-Driven Development with Reqnroll — Modern .NET Core, C# & Enterprise Microservices