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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube