Course · 24 lessons

Production .NET Contracts

Prove real SQL, reliable delivery, conditional HTTP and trust boundaries through complete .NET10 external labs and honest portable companions.

  1. SQL NULL and three-valued predicates

    Observe actual SQLite predicates, aggregates and CHECK behavior.

    SQL semantics and execution · 30 min
  2. Composite and covering index observations

    Inspect a real plan alongside the exact query and ordered result.

    SQL semantics and execution · 30 min
  3. Expression and partial index predicate contracts

    Match the expression and partial predicate the database actually indexes.

    SQL semantics and execution · 30 min
  4. WAL snapshots and whole-transaction retry

    Observe stale readers and restart the complete unit after a failed upgrade.

    SQL semantics and execution · 30 min
  5. Fault-tested atomic outbox persistence

    Commit the business row and publication intent in one actual transaction.

    Reliable delivery boundaries · 30 min
  6. Outbox leases, replay and stale acknowledgments

    Reclaim actual persisted work while fencing an older lease generation.

    Reliable delivery boundaries · 30 min
  7. Transactional inbox and full request equivalence

    Deduplicate the effect and reject incompatible message identity reuse.

    Reliable delivery boundaries · 30 min
  8. Per-aggregate ordering, gaps and poison records

    Do not advance a sequence merely because an invalid delivery was observed.

    Reliable delivery boundaries · 30 min
  9. Conditional GET and representation validators

    Return304 for a matching representation without confusing weak and strong comparison.

    HTTP and cache contracts · 30 min
  10. If-Match and atomic versioned updates

    Distinguish missing, weak and stale write preconditions.

    HTTP and cache contracts · 30 min
  11. Versioned routes and consumer compatibility

    A new route name does not make a breaking JSON shape compatible.

    HTTP and cache contracts · 30 min
  12. Invalidate cached reads after a successful commit

    Do not publish a rolled-back candidate or imply an atomic SQL-plus-cache transaction.

    HTTP and cache contracts · 30 min
  13. HybridCache stampede coordination within one instance

    Test the real package with concurrent callers and a controlled factory gate.

    HTTP and cache contracts · 30 min
  14. Streaming completion and partial-result contracts

    A200 header does not prove that a record stream completed successfully.

    HTTP and cache contracts · 30 min
  15. Configuration reload and secret exposure boundaries

    Observe actual IOptionsMonitor reload without inventing automatic last-known-good behavior.

    Trust and operations · 30 min
  16. CORS preflight is not caller authentication

    Inspect browser-sharing headers independently of actual endpoint access.

    Trust and operations · 30 min
  17. Antiforgery token and cookie binding

    Use the actual framework validator rather than a known-string security toy.

    Trust and operations · 30 min
  18. HTML response encoding and context boundaries

    Encode text where it is inserted instead of declaring an arbitrary string universally safe.

    Trust and operations · 30 min
  19. Trusted forwarded headers and original transport

    Trust proxy metadata only from an explicitly configured immediate peer.

    Trust and operations · 30 min
  20. Host filtering and canonical link ownership

    Separate allowed routing hosts from an application’s trusted public base URI.

    Trust and operations · 30 min
  21. Scoped dependencies in an actual hosted worker

    Create and dispose one real DI scope per accepted operation.

    Trust and operations · 30 min
  22. Telemetry privacy and bounded dimensions

    Inspect actual recorded signals without assuming every downstream system is sanitized.

    Trust and operations · 30 min
  23. Executable consumer and commit-failure contracts

    Check the actual body and persisted state rather than status alone.

    Integration evidence · 30 min
  24. Capstone: conditional mutation, receipt and outbox

    Reconcile an uncertain committed response through one actual local storage boundary.

    Integration evidence · 30 min