NuGet has made the process of finding and referencing libraries from Visual Studio much easier and has strongly contributed to the expansion of an open source ecosystem. In the three years since its release, it has become an essential tool for both consuming and publishing class libraries for the .NET framework.
A concise and practical guide to everything that NuGet has to offer to both consumers and publishers. Through many hands on examples, NuGet2 Essentials will demonstrate all of NuGet’s features and teach you how to use them in everyday development in a .NET framework.
Starting out by using NuGet for consuming third-party libraries, this concise guide continues with a detailed look at creating your own packages, and ends by teaching you how to set up your own internal server. Through practical examples, you will learn to manage versions of installed libraries on all development and build machines. You will also discover how to create packages for your own libraries so they can be easily consumed, no matter how much configuration they require. By hosting an internal server, you will have full control of packages being used in your development environment.
By the end of the book, you will know about everything that NuGet has to offer, and how it can make your development process better.
This concise guide is full of hands-on examples to guide you through all of NuGet’s features and use them in everyday development of .NET frameworks.
Who this book is for
If you are a .NET developer who wants to learn more about NuGet, this book is ideal for you. Although it doesn’t require any prior knowledge about NuGet itself, it assumes that you are already familiar with Visual Studio and the .NET framework. All code in the examples is written using C# so you will also need at least a basic knowledge of the language.