Pro NuGet by Maarten Balliauw & Xavier Decoster

Pro NuGet by Maarten Balliauw & Xavier Decoster

Author:Maarten Balliauw & Xavier Decoster [Balliauw, Maarten & Decoster, Xavier]
Language: eng
Format: epub
Tags: Computers, Programming, Microsoft, Programming Languages, C#
ISBN: 9781430260011
Publisher: Apress
Published: 2013-10-16T04:00:00+00:00


Summary

In this chapter, we’ve gone further than simply consuming packages and publishing packages to the official NuGet package source. We’ve shown you a variety of reasons that you may want to have your own NuGet feed.

The reasons for hosting your own NuGet feed are as simple as filtering the official NuGet package source and mirroring packages from it, and as complex as advanced scenarios involving security, privacy, and protecting intellectual property.

A lot of different options for creating and hosting your own NuGet package repositories are available. We’ve covered several options of creating your own NuGet feed. The easiest solution was using a folder or network file share to distribute packages. The NuGet.Server package and the NuGet Gallery allowed you to expose NuGet feeds and packages through an URL and allow you to expose your own NuGet feed to the Internet or intranet if you want.

We’ve also seen commercial options. MyGet, a hosted private NuGet feed solution, allows you to set up your own NuGet feed in seconds and provides a rich set of security options to configure your feed according to your needs. ProGet can be installed in your own network and comes with features such as proxying external NuGet feeds.

Many companies are already using TeamCity for their continuous integration. TeamCity comes with a built-in NuGet server that exposes build artifacts as a NuGet feed.

We’ve ended this chapter with some considerations to make when using NuGet in your development environment. Introducing a package source into the development flow also introduces a new critical system. A system all development teams depend on should comply with the highest SLA one can offer to prevent disruptions in their work: availability, retention, and security are key aspects to consider.

In this chapter, the fun began—we’ve gone beyond consuming and creating packages, to hosting your own NuGet feed. The next chapters will go even further as they explore some scenarios for integrating NuGet in your software development process as well as show how to leverage NuGet in other scenarios than pure package management.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.