- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating a NuGet Package Feed to Host Artifacts
In this hands-on lab, we will be learning how to utilize NuGet package feeds to host artifacts. This is an important concept because it can become cumbersome to manage artifacts from multiple locations. We will be accomplishing this task by creating a feed where we will push all local NuGet packages.

Lab Info
Table of Contents
-
Challenge
Create VM with Visual Studio and Create a Feed
- Log in to the Azure Portal.
- Create a new virtual machine using the Visual Studio Community 2017(Latest release)on Windows Server 2016 image.
- Log in to the Azure DevOps portal.
- Create a project named "LinuxAcademy-Artifacts".
- Create an artifact feed named "Feed-LA".
-
Challenge
Create and Publish Your Own NuGet Package
- Download the latest Nuget.exe and add it to the virtual machine.
- Open up Visual Studio, and create a new .NET Standard project named, "NugetTestPackage".
- Build the project.
- Using the feed URL and package path, push the package.
- Go back to the Azure DevOps Portal and verify that the feed was pushed successfully.
-
Challenge
Add the Feed to Your NuGet Configuration
- In Visual Studio, add the
Feed-LA
URL as aPackage Source
.
- In Visual Studio, add the
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.