Course · 16 lessons

ASP.NET Core 10 APIs

Build real modern web endpoints in external .NET 10 projects and verify their domain rules in portable C# practice.

  1. Minimal routes and explicit binding

    Separate route shape, scalar binding and application rules.

    Endpoints and ownership · 25 min
  2. Typed results and ProblemDetails

    Make success, absence and invalid input distinct HTTP outcomes.

    Endpoints and ownership · 25 min
  3. Dependency injection lifetimes and scopes

    Observe scoped identity without capturing it in a singleton.

    Endpoints and ownership · 25 min
  4. Middleware order and unwind

    Distinguish inbound order, endpoint execution and outbound unwinding.

    Endpoints and ownership · 25 min
  5. Configuration and options validation

    Reject an invalid operational setting before serving requests.

    Endpoints and ownership · 25 min
  6. Structured logs and request scopes

    Preserve named observations rather than interpolating an opaque sentence.

    Endpoints and ownership · 25 min
  7. .NET 10 Minimal API validation

    Use generated DataAnnotations validation before the handler executes.

    Contracts and policies · 25 min
  8. OpenAPI as an observable contract

    Generate a real document and compare it with handler behavior.

    Contracts and policies · 25 min
  9. RequestAborted and cooperative work

    Forward the request lifetime to work that can actually stop.

    Contracts and policies · 25 min
  10. Development identity and authorization policies

    Observe 401 and 403 with an explicitly local teaching scheme.

    Contracts and policies · 25 min
  11. Rate limiting and an explicit rejection policy

    Bound a named endpoint policy without claiming global abuse protection.

    Contracts and policies · 25 min
  12. Output caching and private-response boundaries

    Choose a public variation key without caching personalized work.

    Contracts and policies · 25 min
  13. Liveness, readiness and real health endpoints

    Separate a serving process from a dependency-readiness decision.

    Operations and composition · 25 min
  14. Activities, metrics and observable ownership

    Instrument one bounded operation and inspect in-process listeners.

    Operations and composition · 25 min
  15. Source-generated JSON and AOT constraints

    Compile an explicit serialization contract without claiming an AOT publish.

    Operations and composition · 25 min
  16. Capstone: a validated quote API

    Compose binding, validation, scoped work, options, logs and typed outcomes.

    Operations and composition · 25 min