Skip to main content
SEMastery

DevOps

Explore devops topics and best practices in the .NET ecosystem.

Level:
28 articles
beginner

YARP vs Nginx: A Quick Performance Comparison for .NET

A simple, friendly look at YARP vs Nginx as a reverse proxy: how each one works, real benchmark numbers, tuning tips, and how to pick the right one.

13 minYARP · Nginx
beginner

Building Generative AI Apps With GitHub Models and .NET Aspire

A beginner-friendly guide to building generative AI apps in .NET using GitHub Models, .NET Aspire, and Microsoft.Extensions.AI with clean code examples.

13 minGitHub Models · .NET Aspire
beginner

.NET Aspire: A Game Changer for Cloud-Native Development

A beginner-friendly guide to .NET Aspire, the cloud-native stack that orchestrates your services, databases, and dashboards with one simple command.

12 mindotnet-aspire · cloud-native
beginner

Service Discovery in .NET Microservices with HashiCorp Consul

A beginner-friendly guide to service discovery in .NET microservices using HashiCorp Consul, with registration, health checks, and lookups explained simply.

12 minconsul · service-discovery
beginner

How .NET Aspire Simplifies Service Discovery for Your Apps

Learn how .NET Aspire service discovery lets your services find each other by name, with no hardcoded URLs, ports, or environment headaches.

11 mindotnet-aspire · service-discovery
beginner

Monitoring .NET Applications With OpenTelemetry and Grafana

A beginner-friendly guide to monitoring .NET apps with OpenTelemetry and Grafana. Send metrics, traces, and logs to Prometheus, Tempo, and Loki step by step.

12 minOpenTelemetry · Grafana
beginner

Getting Started With Dapr for Building Cloud-Native Microservices in .NET

A beginner-friendly guide to Dapr for .NET developers: learn sidecars, state, pub/sub, and service invocation to build cloud-native microservices.

12 mindapr · microservices
beginner

Introduction to Dapr for .NET Developers: A Beginner Guide

A warm, beginner-friendly introduction to Dapr for .NET developers, covering sidecars, building blocks, state, pub/sub, and service invocation in plain C#.

13 mindapr · dotnet
intermediate

How to Set Up Production-Ready Monitoring With ASP.NET Core Health Checks

A friendly, step-by-step guide to production-ready monitoring with ASP.NET Core health checks: liveness, readiness, dependency checks, a UI, and probes.

12 minhealth checks · ASP.NET Core
intermediate

Retries and Resilience in .NET with Polly and Microsoft Resilience

Learn retries, timeouts, and circuit breakers in .NET using Polly v8 and Microsoft.Extensions.Http.Resilience, with simple examples a beginner can follow.

12 minPolly · resilience
beginner

Logging Best Practices in ASP.NET Core: A Beginner's Guide

Learn logging best practices in ASP.NET Core: log levels, structured logging, source-generated LoggerMessage, scopes, correlation IDs, and keeping secrets out.

12 minlogging · ASP.NET Core
intermediate

Structured Logging and Distributed Tracing for Microservices with Seq

Learn to add structured logging with Serilog and distributed tracing with OpenTelemetry to .NET microservices, then view it all in Seq with one trace ID.

11 minseq · serilog
beginner

Logging Requests and Responses for APIs and HttpClient in ASP.NET Core

Learn to log incoming API requests and outgoing HttpClient calls in ASP.NET Core using built-in HTTP logging and a custom DelegatingHandler, step by step.

12 minASP.NET Core · logging
intermediate

Overriding Default HTTP Resilience Handlers in .NET

Learn how to override global HTTP resilience handlers in .NET so one HttpClient can use its own retry, timeout, and circuit breaker rules.

12 mindotnet · resilience
beginner

Structured Logging in ASP.NET Core with Serilog: A Beginner's Guide

A friendly, step-by-step guide to structured logging in ASP.NET Core with Serilog: setup, sinks, request logging, and viewing logs on .NET 10.

15 minSerilog · structured logging
intermediate

Implementing API Gateway Authentication With YARP in .NET

Learn to build a secure API gateway in .NET using YARP. Add authentication, per-route authorization policies, and pass user identity to backend services.

11 minYARP · API gateway
beginner

YARP as an API Gateway in .NET: A Beginner's Guide

Learn how to use YARP as an API gateway in .NET 10. Routes, clusters, load balancing, health checks, auth, and transforms explained in simple, friendly steps.

12 minYARP · API gateway
beginner

Containerize Your .NET Applications Without a Dockerfile

Learn how to build container images for your .NET apps using the SDK and dotnet publish, with no Dockerfile needed. Beginner-friendly guide for .NET 10.

12 min.NET · Docker
beginner

Health Checks in ASP.NET Core: A Beginner's Guide

Learn health checks in ASP.NET Core: add liveness and readiness endpoints, check your database and Redis, write custom checks, and wire up Kubernetes probes.

13 minhealth checks · ASP.NET Core
beginner

Using .NET Aspire With the Docker Publisher: A Beginner Guide

Learn how to turn a .NET Aspire app into a ready-to-run docker-compose.yaml with one command using the Docker publisher. Simple, step-by-step guide.

11 mindotnet-aspire · docker
beginner

Getting Started With OpenTelemetry in .NET With Jaeger and Seq

A beginner guide to OpenTelemetry in .NET. Add traces, metrics, and logs, then view them in Jaeger and Seq using the OTLP exporter step by step.

13 minOpenTelemetry · observability
beginner

How to Build a CI/CD Pipeline With GitHub Actions and .NET

A beginner-friendly guide to building a CI/CD pipeline for .NET with GitHub Actions: build, test, cache, publish, and deploy your app automatically.

13 minGitHub Actions · CI/CD
intermediate

Horizontally Scaling ASP.NET Core APIs With YARP Load Balancing

Learn how to scale ASP.NET Core APIs horizontally using YARP load balancing, with policies, health checks, and a full Program.cs setup explained simply.

12 minYARP · load balancing
beginner

Streamlining .NET 9 Deployment With GitHub Actions and Azure

A friendly, step-by-step guide to deploying a .NET 9 app to Azure App Service using GitHub Actions, with secure OIDC login, build, test, and release.

13 mindotnet · github-actions
beginner

Introduction to Distributed Tracing With OpenTelemetry in .NET

A beginner-friendly guide to distributed tracing in .NET with OpenTelemetry. Learn traces, spans, context propagation, and how to add them step by step.

14 minOpenTelemetry · distributed tracing
intermediate

Implementing an API Gateway for Microservices With YARP

Learn to build an API gateway for microservices with YARP in .NET 10. Routes, clusters, auth, rate limits, and transforms explained in simple steps.

12 minYARP · API gateway
beginner

5 Serilog Best Practices for Better Structured Logging in .NET

Learn 5 simple Serilog best practices for structured logging in .NET: message templates, enrichers, correlation IDs, hiding secrets, and async sinks.

13 minSerilog · logging
beginner

Standalone Aspire Dashboard Setup for Distributed .NET Applications

Learn to run the standalone Aspire dashboard in Docker and view traces, logs, and metrics from your distributed .NET apps over OTLP, step by step.

13 minAspire · Aspire Dashboard