Skip to content

Course

C# and .NET Development

A practitioner's path through modern .NET — minimal APIs, dependency injection, async correctness, EF Core performance, rigorous testing, and cross-platform deployment.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Modern .NET Service Design

Build minimal APIs with explicit composition, correct dependency lifetimes, and validated configuration.

  1. 01Minimal APIs and the Discipline of the Composition RootStructure modern .NET services around explicit route composition, endpoint metadata, and small testable handlers instead of controller-era ceremony.24mOpen
  2. 02Dependency Injection Lifetimes Without the LandminesUse singleton, scoped, and transient lifetimes deliberately so services remain correct under concurrent requests and do not capture stale state.26mOpen
  3. 03Configuration, Options, and Validation That Fail FastModel configuration explicitly, validate it at startup, and avoid secrets drift across environment variables, containers, and user secrets.22mOpen

Async and Data Performance

Preserve async context end-to-end, control concurrency, and make EF Core queries predictable under production load.

  1. 01Async All the Way Down, and the Cost of Getting It WrongUnderstand synchronization contexts, cancellation, blocking calls, and concurrency limits so async code improves scalability instead of hiding failure.28mOpen
  2. 02EF Core Query Performance: Read the SQL Before Production DoesControl tracking, projection, includes, pagination, and query shape so Entity Framework Core remains a productivity tool rather than a latency amplifier.29mOpen
  3. 03Transactions, Concurrency, and Resilient WritesDesign EF Core writes around units of work, optimistic concurrency, execution strategies, and idempotency rather than assuming the network behaves.27mOpen

Testing and Cross-Platform Delivery

Test behavior honestly, package services deterministically, and operate them across Linux, Windows, and containers.

  1. 01Testing .NET Services with WebApplicationFactory and Real BoundariesBuild a test pyramid that catches behavior regressions with fast unit tests, API-level integration tests, and controlled external dependencies.28mOpen
  2. 02Publishing .NET Applications Across Linux, Windows, and ContainersChoose framework-dependent, self-contained, trimmed, or container packaging deliberately and make runtime identity explicit before deployment.25mOpen
  3. 03Operating .NET Services: Health, Telemetry, Shutdown, and systemdShip services operators can run: structured logs, useful health checks, OpenTelemetry signals, graceful shutdown, and honest process supervision.27mOpen