Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

Developing and Distributing NuGet Packages

person icon Clyde D'Souza

3.9

Developing and Distributing NuGet Packages

Creating a re-usable code library

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Clyde D'Souza

category icon Web Development,Development,NuGet

Lectures -24

Duration -1 hours

3.9

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

NuGet is the Microsoft-supported mechanism for sharing code. It is a definition of how re-usable code is created for .NET projects and bundled into NuGet packages. It is a tool that helps you create a NuGet package. It is a platform where you can publish your NuGet packages and share them with other developers. It is a package manager that is integrated with Visual Studio which you can use to consume these NuGet packages. How amazing is that!

In this class, you will learn how to develop your very own NuGet package and then publish it to nuget.org! Doesn’t that sound exciting? You will learn what is NuGet in more depth, how to align your thinking when taking the NuGet approach and a lot more.

This class is for you if:

  • You’ve consumed NuGet in the past and want to learn how to develop and distribute your own,
  • You’ve not consumed NuGet but want to learn what NuGet is and learn the entire lifecycle right from development to consumption,
  • Or, you don’t want to learn about NuGet specifically but want to learn how to align your thinking while developing an independent unit of code that could potentially be reused, how to manage versioning of your code and a lot more that I would classify as ‘derived knowledge’.

Project

Your class project is a simple 4-step process as outlined below.

  • Develop & unit test – Think of a simple idea that your NuGet package will solve. Write some code for it and some unit tests to verify the accuracy of your code and make it maintainable for the future.
  • Pack & test locally – Create a NuGet package locally and test it locally by setting up a local NuGet feed. Unpackage the NuGet to ensure your files are in there.
  • Publish to nuget.org – Once confident, publish your NuGet package to nuget.org.
  • Share the link with this class – Hooray! Now, share the link to your NuGet package with this class. When sharing your class project:
    • Submit the link to your nuget.org package.
    • Write about how to use your NuGet package.
    • Write about your experience of the process.
  • Watch the class project video for some ideas! 

Happy learning!

Goals

What will you learn in this course:

  • Learn what NuGet is and how it's used.
  • Install and use NuGet CLI locally.
  • Create a code library and write tests for it.
  • Learn semantic versioning 
  • Create a NuGet package file and test it locally. 
  • Publish your NuGet package to NuGet Org.

Prerequisites

What are the prerequisites for this course?

  • Basic knowledge of C# (recommended).
  • Basic familiarity with Visual Studio (recommended).
  • Visual Studio will be the software required. Download it from here: https://rebrand.ly/download-vscommunity.
  • However, if you are hungry to learn, please don’t stop yourself from watching this class.


Developing and Distributing NuGet Packages

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
4 Lectures
  • play icon Welcome and introduction 01:39 01:39
  • play icon Class roadmap 01:57 01:57
  • play icon Introduction to NuGet 03:07 03:07
  • play icon Class project 01:57 01:57
Milestone 1
5 Lectures
Tutorialspoint
Milestone #2
10 Lectures
Tutorialspoint
Publish
3 Lectures
Tutorialspoint
Wrap up
2 Lectures
Tutorialspoint

Instructor Details

Clyde D'Souza

Clyde D'Souza

Software Engineer and Author

Hi,

I'm Clyde. I'm a full-stack software engineer. I've also published a book titled Mama, Tell Me a Story which is available on all leading platforms. It's a collection of twelve short bedtime stories that parents will love reading to their kids over and over again.

In my spare time, I like to explore other interests like writing, teaching and I've also created many other projects in my spare time.

Happy learning!

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515