News

NuGet Package Manager Tweaked for Enterprise Customers in .NET 4.5.1

Microsoft adds a libraries feed that is as fully supported as the .NET Framework.

The .NET Framework just had its official update to version 4.5.1. Along with that update is a new effort by Microsoft to get NuGet, a package delivery system for Visual Studio, into the hands of more enterprise-level customers.

Microsoft has substantially tweaked NuGet in .NET 4.5.1 for better enterprise use, Alok Shriram, a Program Manager on the .NET Core Framework Team, blogged earlier this week.

"Some larger enterprise customers have been hesitant to adopt our NuGet releases, for a few different reasons. We believe that we've solved those issues in the .NET Framework 4.5.1."

Among the most persistent complaints from customers were that NuGet packages lacked discoverability, and a lack of package support. The answer for Microsoft was to create a  .NET NuGet libraries feed. The feed has the same level of support as the .NET Framework, according to Shriram. The feed, he blogged, is basically the same as regular .NET libraries, delivered via NuGet instead of only through a standard .NET Framework update.

The other major change for large customers is that the .NET Framework Microsoft Update servicing model has been extended to the NuGet libraries feed. One practical effect of the change is that security patches, for example, can be pushed through .NET NuGet assemblies with Windows Update, allowing for more timely fixes. Shriram noted that such support is only enabled for apps running on .NET 4.5.1.

The .NET NuGet feed shows up in Visual Studio the way it always has, but it's been enhanced in the just-released version Visual Studio 2013: a new item will appear in the NuGet client as "Microsoft and .NET". The client is also available as an update to Visual Studio 2012.

NuGet is a Visual Studio extension for managing libraries. When a developer installs a package, NuGet copies the necessary files to the solution and makes any needed changes, like adding references and changing app.config or web.config files. Some of the most popular packages include the Entity Framework, SignalR, Razor and the Web API. The packages come bundled as a .nupkg file.

NuGet runs on all versions of Visual Studio 2013, Visual Studio 2012 and Visual Studio 2010, as well as Visual Web Developer 2010 and Windows Phone Developer Tools 7.1. NuGet is supported on all Windows operating systems back to Windows XP SP3.

About the Author

Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

comments powered by Disqus

Featured

  • How to Do Naive Bayes with Numeric Data Using C#

    Dr. James McCaffrey of Microsoft Research uses a full code sample and screenshots to demonstrate how to create a naive Bayes classification system when the predictor values are numeric, using the C# language without any special code libraries.

  • Vortex

    Open Source 'Infrastructure-as-Code' SDK Adds .NET Core Support for Working with Azure

    Pulumi, known for its "Infrastructure-as-Code" cloud development tooling, has added support for .NET Core, letting .NET-centric developers use C#, F# and VB.NET to create, deploy, and manage Azure infrastructure.

  • .NET Framework Not Forgotten: Repair Tool Updated

    Even though Microsoft's development focus has shifted to the open-source, cross-platform .NET Core initiative -- with the aging, traditional, Windows-only .NET Framework relegated primarily to fixes and maintenance such as quality and reliability improvements -- the latter is still getting some other attention, as exemplified in a repair tool update.

  • How to Work with C# Vectors and Matrices for Machine Learning

    Here's a hands-on tutorial from bona-fide data scientist Dr. James McCaffrey of Microsoft Research to get you up to speed with machine learning development using C#, complete with code listings and graphics.

  • Sign

    Working with Claims to Authorize Users in ASP.NET Core and Blazor

    When you need to integrate authorizing the user to perform some activity (or just want to retrieve information about the current user), you need to work with the ClaimsPrincipal’s Claims objects. Here’s everything you might want to do.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events