Learn about NuGet integration within Visual Studio and the Visual Studio command line.
Overview
Syllabus
Introduction
- .NET package management with NuGet
- What you should know
- How to access the sample code on GitHub
- NuGet: The .NET package manager
- The NuGet tools
- Install the NuGet CLI
- Install the .NET Core CLI
- Create and publish package
- Find and consume package
- Explore the NuGet Gallery site
- Tool and template package types
- Install NuGet in Visual Studio
- Tour the sample projects
- The NuGet Package Manager tools
- Install package into .NET Framework project
- Install package into a .NET Core project
- Install Entity Framework package
- Where are package files installed?
- Manage packages for multiple projects
- Switch from packages.config to PackageReference
- Package versioning
- Package dependencies
- Enable Package Restore in Visual Studio
- Edit version number in PackageReference
- How Package Restore installs packages
- Run Package Restore manually
- ASP.NET and client-side package managers
- Update a package
- Work with alternate versions of a package
- Uninstall a package
- Create a private local feed
- Download a package from Nuget.org
- Add package to the local feed
- Add multiple packages to the local feed
- Install a package from local feed
- Work with Package Manager Console
- Use the console to explore packages
- Use the console to install a package
- Install other package versions
- The other NuGet commands
- Windows Terminal and NuGet
- List packages with CLI
- Install a package with CLI
- Update and remove a package with CLI
- NuGet and the Visual Studio Code editor
- Use the dotnet CLI in Visual Studio Code
- Install a NuGet Marketplace extension
- Use the NuGet Package Manager extension
- The NuGet Package Manager GUI extension
- Explore the example .NET library
- Explore the Razor Pages application
- Install NuGet Package Explorer
- Create a custom NuGet package
- Explore the content of the .nupkg file
- Publish a package to a private feed
- View a package in NuGet Package Manager
- Publish a newer version of package
- Install the custom NuGet package
- More about packages and dependencies
Taught by
Walt Ritscher