SkillAgentSearch skills...

DevOpsExamples

A repo to show you how to use a private NuGet feed to restore packages in Azure DevOps, GitHub Actions, GitLab CI and AppCenter.

Install / Use

/learn @LanceMcCarthy/DevOpsExamples
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DevOps - Pipeline and Workflow Examples

This repository contains a rich set of CI-CD demos where I show you how to:

  • Connect to private nuget feeds; Azure, GitHub packages, and custom (eg Telerik).
  • Build .NET apps and publish to a container registry; Docker, Azure, GitHub, etc.

Although I use Telerik's NuGet server because I have a license, these demos are good for any private feed type; just use your source URL and credentials instead!

Table of Contents

CI Systems

| System | CI/CD file(s) | |---------------|------------------| | GitHub Actions | .github/workflows | | Azure DevOps (YAML) | azure-pipelines.yml | | Azure DevOps (classic) | click build badge | | GitLab CI/CD | .gitlab-ci.yml ↗|

Badges

| Project | GitHub Actions | Azure DevOps | GitLab CI | |---------|--------------|----------------|-----------| | .NET MAUI | MAUI main | Build - CLASSIC | Build status | | ASP.NET Core | Build ASP.NET Core Application | Build Status | Build status | | ASP.NET Blazor | Build Blazor Application | Build Status | Build status | | WPF (net48) | WPF (.NET Framework) | Build - CLASSIC | Build status | | WinForms (net48) | WinForms (.NET Framework) | Build - CLASSIC | Build status | | Console | Console (.NET) | Build Status AKEYLESS | Build status | | WinUI 3 | Build WinUI3 Project | Build Status | Build status | | Kendo Angular | Build Angular | Build Status | Build status | | ASP.NET AJAX (net48) | Build AJAX Application | Build Status | Build status |

All Azure DevOps status badges are for classic pipelines, except the Console project, which uses Azure DevOps YAML pipelines.

Docker Examples

This repo also contains examples on how to build and publish a Telerik powered .NET project as a container image. The image names below are published to the lancemccarthy Docker Hub user, but the approach also works for any container registry.

| Image | GitHub Action | Dockerfile | |--------------|---------------|------------| | aspnetcore-reporting-from-centosbase | | link | | aspnetcore-reporting-from-msftbase | | link | | myblazorapp | | link |

[!NOTE] When creating a container, forward port 8080 to the host. For example:

  1. Run docker run -d -p 9999:8080 lancemccarthy/myblazorapp:latest
  2. Visit site on http://localhost:9999

Videos

Azure DevOps with Telerik NuGet Server

The following 4 minute video takes you though all the steps on adding a private NuGet feed as a Service Connection and consuming that service in three different pipeline setups.

[![YouTube tutorial](https://img.youtube.com/vi/rUWU2n

View on GitHub
GitHub Stars166
CategoryDevelopment
Updated7d ago
Forks86

Languages

C#

Security Score

100/100

Audited on Mar 24, 2026

No findings