Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hosting your own NuGet private repository


Published on

Hosting your own NuGet private repository

Published in: Software
  • Login to see the comments

  • Be the first to like this

Hosting your own NuGet private repository

  1. 1. NUGET MASTER Hosting Your Own NuGet Feeds Yu Guan | Microsoft MVP
  2. 2. Meet Yu Guan | @askguanyu Microsoft MVP Speaker, Blogger, Hacker, Coder, Maker, Gamer Azure, IoT, Cross-platform Apps, GIS, Services
  3. 3. Overview of the NuGet Ecosystem  Package manager for the Microsoft development platform  Client tools provide the ability to produce and consume packages  NuGet Gallery ( is the central package repository used by all package authors and consumers
  4. 4. NuGet private repository  Creating Local Feeds  Creating Remote Feeds
  5. 5. Creating Local Feeds  Create a local folder  Copy .nupkg file to this local folder  Configurate this folder as new Package Sources under Package Manager
  6. 6. Creating Remote Feeds (NuGet.Server)  Create a new Empty Web Application in Visual Studio  Install the NuGet.Server Package  Configure the Packages folder and ApiKey  Add Packages to the Packages folder  Deploy and run your brand new Package Feed!
  7. 7. Remote Feeds Usage  Feeds URL: http://{YourSite}/nuget/  Publishing: nuget.exe push {YourPkg}.nupkg -ApiKey {key} -Source http://{YourSite}/api/v2/package
  8. 8. DEMO
  9. 9. THANK YOU!