Scenario-first · On-the-job · Copy-paste code

.NET Job Reference

Not a tutorial — a map. Pick the situation you're in at work (migration, new API, messaging, deploy pipeline) and jump straight to the guide that covers it. Every link goes to a full tutorial with .NET 9 examples.

26 guides mapped By work scenario ← All tutorials

Use the filter to narrow by domain, or scroll the scenario tables. Every linked guide is live — bookmark this page as your work reference. For a linear learning path see All Tutorials.

Architecture — CA, CQRS, patterns

Work scenarioContextGo to tutorial
Greenfield backend with testable layers Domain, Application, Infrastructure, Web — MediatR commands/queries
Code review keeps flagging tight coupling SRP, OCP, DIP — refactor without rewriting everything
Giant if/else for pricing, shipping, discounts Strategy + factory — swap algorithms at runtime
Need the full .NET stack mental model C# → API → Identity → SQL in one narrative

API — Minimal, REST, Identity, Gateway

Work scenarioContextGo to tutorial
Ship a small HTTP API this sprint Routing, DI, validation, EF — no controllers
API design review / public contract REST verbs, pagination, HATEOAS, ProblemDetails
Users, roles, JWT, OAuth, 2FA Identity, Bearer tokens, claims, external logins
Multiple microservices, one front door YARP, BFF, rate limits, auth propagation

Data — EF Core, T-SQL

Work scenarioContextGo to tutorial
ORM mappings, migrations, performance DbContext, fluent API, raw SQL, interceptors
Slow queries, indexes, window functions Normalization, CTEs, execution plans — SQL Server
"How do I bulk insert / soft delete?" Copy-paste EF and T-SQL recipes

Messaging — MassTransit, Azure SB, Hangfire

Work scenarioContextGo to tutorial
Event-driven microservices on RabbitMQ Consumers, sagas, outbox, idempotency
Cloud queues & serverless processors Azure Service Bus, Functions, typed messages
Nightly jobs, cron, retries, dashboard Hangfire vs Quartz — persistent scheduling

Concurrency — Threading

Work scenarioContextGo to tutorial
App hangs under load — thread pool starvation async/await, Task.WhenAll, SemaphoreSlim, Channels
Parallel file/CPU processing Parallel.ForEachAsync, PLINQ, IAsyncEnumerable
Background work inside the web app BackgroundService vs Hangfire vs Service Bus

UI — Blazor

Work scenarioContextGo to tutorial
Internal admin SPA in C# end-to-end Blazor Server/WASM, components, auth, API calls
API already done — need a UI layer Pair with Minimal API + Identity tutorials first

Cloud — Azure, Docker/CI

Work scenarioContextGo to tutorial
Host web app + SQL on Azure App Service, Azure SQL, Key Vault, Insights, Bicep, slots
Table Storage, queues, Functions pipeline NoSQL entities, Service Bus, isolated worker Functions
Containerize and deploy via GitHub Actions Multi-stage Dockerfile, compose dev, App Service deploy

Testing

Work scenarioContextGo to tutorial
Unit + integration tests for APIs xUnit, WebApplicationFactory, Testcontainers
Cache layer + circuit breaker under load Redis, Polly, health checks, fallback patterns
Quick test snippets while coding Moq, FluentAssertions recipes in cookbook

Legacy migration

Work scenarioContextGo to tutorial
.NET Framework monolith → .NET 8/9 Assessment, strangler fig, EF6→Core, cutover
Web Forms or MVC → Minimal API Routing parity, auth migration, incremental routes
Deploy old and new side-by-side Blue-green slots, Docker pipeline, feature flags

Quick recipes — How-To Cookbook

← Browse all tutorials (alphabetical hub)