New in Sonatype Nexus Repository 3.25: How do I switch to NuGet V3?

July 16, 2020 By Brent Kostak

4 minute read time

We are excited to announce the official release of Sonatype Nexus Repository 3.25. Delivering on much anticipation from the Sonatype community, this release completes full support for NuGet V3 repositories, including new NuGet V3 Group repositories, and gives both Sonatype Nexus Repository Pro and OSS users access to the up-to-date V3 API. Sonatype Nexus Repository and Visual Studio users can now create Proxy, Hosted, and Group NuGet V3 repositories with faster performance. This is all explained with how to get started in our NuGet V3 help documentation.

Sonatype Nexus Repository offers robust, universal binary repository management for .NET development teams. In addition to being able to proxy and locally cache NuGet V3 packages from external remote repositories – most popular being NuGet Gallery via NuGet.org – Sonatype users can now create NuGet V3 Group repositories. These group repositories combine hosted and proxy repositories for unified repository access from a single URL, allowing development teams to easily work with all of their NuGet components in one place. What are the benefits of NuGet V3 over V2? Why should Sonatype customers and users upgrade to Sonatype Nexus Repository 3.25 and take advantage of this new extended format support? Let's explore both of these in the following material.

NuGet V3 performance improvements

Faster development, more frequent release cycles, and efficient reuse of components across teams have been important outcomes of using package managers and binary repositories when solving the challenge of managing open source and third-party libraries into an application during development. As production scales, software supply chains become more complex and any delay in time across each phase of the software development life cycle (SDLC) creates friction across an organization.

Nexus product team testing for performance of NuGet V3 over V2 shows 25-50% faster build times and ~50% reduction in Sonatype Repository Manager memory usage.

As one of our customers said: "The Sonatype Nexus Repository solution is essential to increasing speed and agility…we're moving to a two week cycle on every sprint or every other sprint."

Sonatype Nexus Repository and NuGet Packages

Many organizations developing on the .NET framework use open source components and third-party libraries when building applications. NuGet Gallery manages millions of packages for .NET developers and teams, but comes with important challenges when addressing the entire SDLC for centralized binary management and maintenance:

  • Lack of package distribution internally amongst developers
  • Heavy network traffic when executing builds
  • Inability to efficiently search through millions of NuGet packages
  • No offline access to packages and metadata
  • Slow build times when downloading hundreds of packages for a project

Using Sonatype Nexus Repository for your NuGet packages, developers and teams will be able to quickly and easily retrieve the required third-party packages for your projects during the build process. The artifacts are stored in Sonatype Nexus Repository and move throughout the CI/CD pipelines into production. The benefit of always having access to these packages in your system when you need them is highly valuable to your software supply chain. Discovering the available pipeline and how to best utilize it will help scale any development team into a more secure and mature DevOps organization.

As always, if you have any questions please leave a comment below or connect with our product teams via the Sonatype community.

Additional resources

For further Sonatype release details and any questions you may have, please refer to the links below:

Sonatype community, support, and quick-start guides at my.sonatype.com

Tags: Nuget, featured, Product, Sonatype Nexus Repository

Written by Brent Kostak

Brent is the Director of Product Marketing connecting developers and DevOps communities to Sonatype Nexus tools and technologies.