Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9: NuGet As a Protocol

C H A P T E R  9

NuGet As a Protocol

So far, you’ve seen how to consume and create NuGet packages and how to host your own feed containing packages. Using NuGet, we’ve managed to set up a means of continuous package delivery and extended the NuGet command line and Package Manager Console.

The concepts and techniques demonstrated in the previous chapters of this book focused on using NuGet as a means of managing dependencies when developing software using Visual Studio. We’ve looked at NuGet as a package manager. How about we change our perspective and look at NuGet as a protocol for distributing packages?

You’ve already seen that complete deployments can be shipped as NuGet packages and that complete software installations can be distributed through NuGet (see Chapter 7). Why not leverage these techniques ourselves? All NuGet components have been built around one central assembly, NuGet.Core, which provides the base functionalities used in NuGet: working with feeds (or repositories) and installing and uninstalling packages based on such feeds.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint