A Journey through Creating and Consuming Custom NuGet Package

schedule May 22nd 03:00 - 03:45 PM place Irvington people 1 Interested

It's time to start a new project. I import that library of shared functions I always seem to need. Then, I go to NuGet and grab any necessary packages. Until recently, I never thought about how I could combine these steps. However, this brave new world of DevOps forced me to address this concept, and I was amazed at the ease of creating NuGet packages and the power of the NuGet platform.

In this talk, I'll guide you through my journey into creating and hosting custom NuGet packages. I'll start with the basics of NuGet package creation and hosting by turning a simple DLL into a NuGet package. From there, I'll talk about how you can make your package fit into your target project with configuration transforms, source code transforms, and specifying development dependencies. Finally, we'll discuss some of the advanced options that are available, such as wiring custom build steps into your project. You'll leave this session empowered to create your own amazing packages into your development environment.

 
 

Outline/Structure of the Presentation

I'll start with the basics of NuGet package creation and hosting by turning a simple DLL into a NuGet package. From there, I'll talk about how you can make your package fit into your target project with configuration transforms, source code transforms, and specifying development dependencies. Finally, we'll discuss some of the advanced options that are available, such as wiring custom build steps into your project.

Learning Outcome

Ability to facilitate code reuse by using custom, internal NuGet packages.

Target Audience

Humans

Prerequisites for Attendees

Basic understanding of the NuGet system from a consumption point of view.

schedule Submitted 7 months ago

Public Feedback

comment Suggest improvements to the Speaker