Q19 — Caching Layers — IMemoryCache, IDistributedCache, HybridCache, Output Cache Level: Senior | Topic: Performance Optimization Choosing the Right Cache IMemoryCache: In-process, zero serialisation, microsecond latency...
Cache invalidation is difficult because writes, readers, and cache failures race; choose an explicit freshness contract and design invalidation around it.
Caching can cut repeated work and protect dependencies, but only when keys, freshness rules, and failure behavior are designed as carefully as the hit path.
A pragmatic performance playbook for EF Core: find bottlenecks, fix N+1s with projection/eager loading, and when to cache or use AsNoTracking.
A production blueprint for a medium-scale SaaS on AWS, covering tenant isolation, transactional messaging, delivery pipelines, observability, cost and recovery.
A medium-scale AWS architecture for serving a static site and API through CloudFront, with practical guidance for data, delivery, observability, security, and recovery.
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...
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 medium-scale GCP SaaS architecture that combines Cloud Run, Cloud SQL, Pub/Sub, Memorystore, and Cloud Tasks across the software delivery lifecycle.
Practical guidance to register and consume services correctly in .NET: lifetimes, scope validation, hosted services, and background work patterns.
Build a cost-efficient, scalable personal finance tracker using Next.js Server Actions paired with PostgreSQL, all on a single VPS, focusing on simplicity, performance, and developer productivity.
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...
Q27 — CQRS with MediatR — Commands, Queries, Pipeline Behaviours Level: Senior | Topic: Architecture CQRS in a Nutshell Command Query Responsibility Segregation separates operations that change state (Commands) from oper...
A medium-scale AWS blueprint for building a production RAG pipeline, from document ingestion and hybrid retrieval to reranking, evaluation, and operational readiness.
Design patterns are reusable solutions to common software design problems. They are not copy-paste code templates, but proven architectural ideas that help teams build systems that are easier to extend, test, maintain, a...
Practice 12 system design interview questions on tenant isolation, fair resource sharing, and the trade-offs behind multi-tenant platforms.
A medium-scale AWS blueprint for exposing a SaaS API through MCP, with separate identity boundaries, safe pagination, layered rate limiting, and production operations.
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.
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.
Q18 — Query Optimisation Workflow — Execution Plans, Statistics, Query Store Level: Senior | Topic: SQL Server The Optimisation Workflow Effective query optimisation follows a structured workflow: identify slow queries, ...
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...
A practical design for a medium-scale retail warehouse that preserves history with SCD Type 2 and keeps sales, inventory, and returns consistent through conformed dimensions.
Q5 — async/await Internals — State Machines, Pitfalls, ValueTask Level: Senior | Topic: C# Fundamentals How async/await Works Under the Hood The C# compiler transforms every async method into a state machine struct . Eac...
Choose prompting, retrieval, fine-tuning, or a combination by separating knowledge from behavior—and measuring their full cost and quality trade-offs.
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 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 production-minded AWS blueprint for a LangGraph research assistant that delegates bounded research, checks evidence, and returns traceable answers.
Thirteen system design interview questions on keeping services useful under load, handling dependency failures, and recovering safely.
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.
A practical, medium-scale SaaS architecture on Azure Container Apps, with Cosmos DB, Service Bus, Bicep, delivery practices, and operational guardrails.