Skip to content

Opinions

One topic per page. Each opinion states its recommendation first, then the rationale, then its sources, and targets the latest released versions.

  • Application architecture: modular monoliths, vertical slices, and when layering is worth its cost
  • ASP.NET Core: minimal APIs, hosting, request validation, error responses, OpenAPI, and performance
  • ASP.NET Core security: authentication, authorization, browser sessions and BFF, tokens, CSRF, CORS, and security headers
  • C#: the latest released language version and idiomatic use of its features
  • CI & automation: supply-chain security, pipeline stages, package signing, and dependency updates
  • Data access: EF Core set-based writes, date and time mapping, PostgreSQL indexes, raw SQL, and tenant isolation with row-level security
  • Dates, times, and time zones: choosing a type, UTC versus local storage, TimeProvider, and testing time
  • F#: domain modelling, mixed C# and F# solutions, and testing
  • Globalization & localization: culture versus ordinal comparison, ICU and invariant mode, IStringLocalizer, and the data that containers drop
  • Logging & tracing: structured logging, source-generated log messages, and OpenTelemetry over OTLP
  • Project structure & SDK: project files, solution formats, SDK pinning, Central Package Management, repository layout, .editorconfig, and containers
  • Runtime & performance: measuring first, immutable collections, async code, Span<T> and pooling, the GC, and Native AOT
  • Security: secrets, deserialization, cryptography, and servicing cadence
  • Testing: choosing a framework, integration tests, deterministic time, coverage, and proving that a test can fail
  • UI frameworks: Blazor and WebAssembly, .NET MAUI, and cross-platform desktop with Avalonia