Q13 — EF Core Migrations — Production Deployment Strategy Level: Senior | Topic: Entity Framework Core The Problem with Naive Migration Deployment Running MigrateAsync() at app startup in a multi-instance deployment is d...
An AWS blueprint for a modular monolith with enforceable context boundaries, reliable events, context-owned data, and a practical extraction path that does not require an early microservices tax.
Q23 — Secrets Management — User Secrets, Azure Key Vault, Managed Identity Level: Mid-Level | Topic: Security The Problem Secrets committed to source control are a leading cause of breaches. The correct approach: use dif...
A medium-scale Azure design for accepting documents, orchestrating durable processing, persisting results, and operating the workflow safely across the SDLC.
A practical testing strategy for a medium-scale SaaS: use unit, integration, contract, and end-to-end tests at the right points in the SDLC, with Testcontainers for realistic dependencies.
A small-team architecture blueprint for a clinic booking app, from PostgreSQL conflict safety and App Service deployment to observability, recovery, and cost.
A medium-scale CI/CD design that builds once, tests and scans every change, then promotes an immutable container image to AWS, Azure, or GCP using GitHub Actions and workload identity.
A medium-scale GCP SaaS architecture that combines Cloud Run, Cloud SQL, Pub/Sub, Memorystore, and Cloud Tasks across the software delivery lifecycle.
A practical, single-region Azure architecture for a small team building a secure .NET application with App Service, Azure SQL Database and Microsoft Entra ID.
A small-team AWS blueprint for turning structured logs, external uptime checks, traces, and a focused dashboard into a practical production feedback loop.
Q22 — OWASP Top 10 — How Each Applies to .NET APIs with Mitigations Level: Senior | Topic: Security The Most Critical Risks A01 — Broken Access Control: Never trust client-sent IDs. Always load the resource then verify o...
Part 1: The Foundations of Production .NET Services A practical guide for building, operating, and deploying reliable ASP.NET Core services on AWS. Audience: .NET developers moving from working APIs to production service...
Q7 — DI Service Lifetimes — Singleton, Scoped, Transient and the Captive Dependency Trap Level: Mid-Level | Topic: ASP.NET Core The Three Lifetimes Singleton: One instance per application. Created once, reused forever. U...
A practical, medium-scale SaaS architecture on Azure Container Apps, with Cosmos DB, Service Bus, Bicep, delivery practices, and operational guardrails.
Q20 — Span<T>, Memory<T>, and ArrayPool<T> — Zero-Allocation Patterns Level: Senior | Topic: Performance Optimization The Problem: Allocation Pressure In high-throughput .NET code, excessive heap alloca...
Q14 — EF Core Performance — Compiled Queries, Split Queries, Raw SQL Level: Senior | Topic: Entity Framework Core Performance Bottlenecks in EF Core Every LINQ query goes through an expression tree compiler that translat...
Q4 — Memory Management — Stack, Heap, GC Generations, IDisposable Level: Senior | Topic: C# Fundamentals Stack vs Heap The stack stores value types and method frames — allocation and deallocation are O(1) pointer moves. ...
A medium-scale AWS blueprint for instrumenting Node.js and .NET services with OpenTelemetry, propagating context across a queue, and operating traces, metrics, and logs.
Q24 — Unit Testing with xUnit, NSubstitute, FluentAssertions — Full Examples Level: Mid-Level | Topic: Testing The Testing Pyramid A healthy test suite follows the pyramid: ~70% unit tests (milliseconds, no I/O, xUnit + ...
Twelve practical interview questions on selecting, validating, operating, and evolving a technology stack without treating familiarity or fashion as evidence.
Q6 — Explain the ASP.NET Core Middleware Pipeline and Write Custom Middleware Level: Mid-Level | Topic: ASP.NET Core How the Pipeline Works ASP.NET Core processes every HTTP request through a linear chain of middleware c...
A pragmatic performance playbook for EF Core: find bottlenecks, fix N+1s with projection/eager loading, and when to cache or use AsNoTracking.
Cache invalidation is difficult because writes, readers, and cache failures race; choose an explicit freshness contract and design invalidation around it.
Here's a comprehensive breakdown of all 10 features, from junior through to principal engineer level. I'll build a visual architecture overview first, then walk through each. Now let's go deep on each feature, level by l...