NuGet Gallery is the central web repository for .NET NuGet packages. This codebase runs the gallery site, background jobs, and shared server libraries.
Overview
NuGet Gallery is the server software behind nuget.org, the public package repository for NuGet and the .NET ecosystem. Package authors publish libraries and applications there, while developers browse, download, and manage dependencies through NuGet client tools.
The solution includes the public gallery web application, NuGet V3 API implementation, and operational background jobs. Shared libraries handle configuration, logging, storage, Key Vault integration, and other cross-cutting services used across NuGet server components.
Microsoft’s open-source tree documents how to build and run the gallery locally for development. Setup scripts create the database and dev HTTPS endpoints, and documentation covers deploying to Azure or publishing a folder build for local hosting with IIS Express on Windows.
For organizations comparing options, this project is the reference implementation of a full package registry rather than only a client SDK. It pairs with the broader NuGet client tooling that produces and consumes packages.
Key features
- Public package browse and search UI
- NuGet V3 API server implementation
- Background processing jobs
- Shared NuGet server libraries
- Local development setup scripts
- Azure deployment documentation
- Aspire-based multi-service local run
Use cases
- Host a private NuGet feed internally
- Study nuget.org server behavior
- Develop gallery or API fixes
- Run integration tests against a local gallery