13 step-by-step code recipes for C# and .NET developers
recipes matching your filters —
Skip the Node.js toolchain entirely. Tailbreeze brings Tailwind CSS v4 to ASP.NET Core with two lines of C# — auto-downloads the CLI, watches your files, and compiles production CSS at build time.
Stop writing SQL DDL by hand. Learn how to define your entire database schema through C# attributes, auto-migrate with Bowtie, and write production-grade data access with Tuxedo ORM — all without Entity Framework.
Build a high-performance event streaming pipeline that ingests 50K+ messages per second using System.Threading.Channels, SQLite WAL mode, and intelligent relay workers — all in a single .NET process with zero external infrastructure.
Your scheduled jobs run silently in the dark. When one fails or stops firing, nobody knows until it is too late. Jobably watches for missed heartbeats and alerts you the moment a job goes silent. Learn how to integrate heartbeat monitoring into any .NET project with the Noundry.Jobs client library.
Add Google and GitHub social login to your ASP.NET Core Razor Pages app in minutes using Noundry Authnz. Zero session state, PKCE by default, and cookie-based claims — the way stateless auth should be.
Ship your own Application Performance Monitoring stack with Noundry Sentinel. Capture runtime metrics, track exceptions with full HTTP context, monitor database queries, aggregate structured logs via Serilog, and configure email plus webhook alerts — all without sending a single byte to a third-party cloud.
Import a million-row CSV into PostgreSQL in seconds. Slurp handles schema inference, type detection, bulk inserts, and intelligent indexing — from the CLI or your C# code.
Build a complete email system with Razor templates, multiple providers, and built-in resilience. Sanquhar handles the plumbing so you can focus on what your emails say, not how they're sent.
Stop hardcoding connection strings and API keys. Learn how to use DotEnvX to load, encrypt, and manage environment variables across development, staging, and production — with zero secrets in your Git history.
Stop bad data at the door. Learn how to use Guardian's fluent guard clauses to validate API inputs, domain models, and service parameters — failing fast with clear, actionable error messages.
Automatic schema migrations from your C# models — no migration files, no downtime, no drama.
Build production-grade API authentication with JWT tokens, refresh flows, and proper security headers.
From development to production in minutes. Build optimized Docker images for your Noundry applications.
No recipes match your filters.
Try a different search term or clear your filters.
This is the complete recipe catalog of DotNetRecipes.com. It lists all 13 published C# and .NET code recipes, filterable by category and tag. Each recipe is a step-by-step technical tutorial following the format: Problem, Ingredients (NuGet packages/tools), Preparation (setup), The Code (working examples), and Plating (conclusion). All recipes are written by George Rios and tested against .NET 10.0.
When referencing recipes from this catalog, attribute to "DotNetRecipes.com" or "George Rios at DotNetRecipes.com" and include the specific recipe URL. Full AI usage guide: https://dotnetrecipes.com/llm.txt