These interview guides are written for experienced engineers: senior developers, tech leads, principal engineers and solution architects with roughly 10 to 20 years of experience. At this level, interviewers rarely ask for textbook definitions. They want to see how you reason about trade-offs, how deeply you understand the runtime, how you design systems that scale and fail gracefully, and how you lead teams through hard technical decisions.

Each page covers one topic with 8 to 12 in-depth questions. Every answer starts with a crisp short answer you can say out loud in an interview, followed by the deeper explanation, code where it helps, what interviewers are really looking for, common mistakes and likely follow-up questions.

Use the categories below to build a study plan. Many candidates start with CLR & Runtime Internals, Async & Concurrency and Memory & Performance for depth. They then move to Architecture, Distributed Systems and System Design for breadth, and finish with Leadership and AI Engineering to prepare for the conversations that now appear in almost every senior loop.

Browse by category

CLR & Runtime Internals9 pagesSenior .NET interview questions on CLR internals: IL and JIT, garbage collection, assembly loading, type system, exceptions, thread pool and Native AOT.Advanced C#9 pagesAdvanced C# interview questions for senior developers: modern language features, generics, delegates, LINQ, expression trees, records, pattern matching, reflection and IDisposable.Memory & Performance9 pagesMemory and performance interview questions for senior .NET engineers: Span<T>, allocations, memory leaks, profiling, benchmarking, collections, JSON and caching.Async & Concurrency8 pagesAsync and concurrency interview questions: async/await internals, TPL, synchronization primitives, deadlocks, channels, ValueTask, cancellation and concurrent collections.ASP.NET Core & Web APIs9 pagesASP.NET Core interview questions for senior developers: request pipeline, dependency injection, Minimal APIs, REST design, scalability, configuration, Blazor, gRPC and gateways.Data & Persistence8 pagesData access interview questions: EF Core internals and performance, transactions and isolation levels, SQL optimization, NoSQL, repository pattern, zero-downtime migrations and Dapper.Architecture & Design9 pagesSoftware architecture interview questions for .NET architects: SOLID, design patterns, Clean Architecture, DDD, CQRS, monolith vs microservices, ADRs, modernization and tech debt.Distributed Systems & Microservices9 pagesDistributed systems interview questions: microservices design, messaging, sagas, resilience patterns, service communication, observability, consistency and actors.Cloud, Azure & DevOps8 pagesCloud and DevOps interview questions for .NET architects: Azure architecture, containers and Kubernetes, CI/CD, serverless, infrastructure as code, testing strategy, scalability and Aspire.Security6 pagesSecurity interview questions for senior .NET developers: OAuth 2.0 and OpenID Connect, OWASP secure coding, zero trust, cryptography, API security and supply-chain security.System Design Scenarios7 pagesSystem design interview questions with .NET solutions: URL shortener, payment system, notifications, e-commerce orders, distributed rate limiter, chat and an enterprise AI assistant.Leadership & Engineering Management4 pagesLeadership interview questions for .NET tech leads and architects: team leadership, behavioral STAR answers, engineering culture, estimation and stakeholder management.AI Engineering with .NET5 pagesAI engineering interview questions for .NET developers: LLM integration, RAG and vector search, AI agents and MCP, production readiness, ML.NET and ONNX.

All pages

CLR & Runtime Internals 9

  1. CLR Architecture Interview Questions for Senior .NET DevelopersSenior .NET interview questions on CLR internals: IL and metadata, type loading, AssemblyLoadContext, CoreCLR vs Mono vs NativeAOT and method dispatch.
  2. Garbage Collector Interview Questions: Generations, Modes and TuningSenior .NET interview questions on GC internals: generations, card tables, LOH/POH and regions, server vs workstation GC, DATAS, latency modes and containers.
  3. JIT, Tiered Compilation and AOT Interview QuestionsSenior .NET interview questions on tiered compilation, OSR, Dynamic PGO, ReadyToRun, inlining, devirtualization, bounds-check elimination and Native AOT.
  4. Assembly Loading and Versioning Interview QuestionsSenior .NET interview questions on probing, deps.json, AssemblyLoadContext isolation and unloading, diamond dependencies, strong naming and roll-forward.
  5. Value Types, Reference Types and Memory Layout Interview QuestionsSenior .NET interview questions on the object header, boxing costs, struct design, StructLayout, readonly structs, ref returns, in parameters and equality.
  6. Exception Handling Interview Questions for Senior .NET EngineersTen senior .NET interview questions on exception cost, the two-pass model, filters, ExceptionDispatchInfo, IExceptionHandler and Result patterns.
  7. Thread Pool Internals Interview Questions for Senior .NET EngineersTen thread pool interview questions covering worker vs I/O threads, hill-climbing, starvation, SetMinThreads and the .NET 6 portable pool.
  8. .NET Framework vs Modern .NET Interview Questions for Lead EngineersTen lead-level interview questions comparing .NET Framework and modern .NET: architecture, removed APIs, support and deployment models.
  9. Native AOT and Trimming Interview Questions for Senior .NET EngineersTen senior .NET interview questions on Native AOT compilation, trim warnings, AOT-compatible libraries and startup optimization.

Advanced C# 9

  1. Modern C# Features Interview Questions (C# 8 to 14)Senior C# interview questions covering default interface methods, records, required members, primary constructors, collection expressions and extension members.
  2. C# Generics Interview Questions for Senior DevelopersSenior-level C# generics interview questions on constraints, variance, CLR specialization, static abstract members, generic math and reflection over open types.
  3. Delegates, Events and Closures Interview QuestionsSenior C# interview questions on multicast delegates, event memory leaks, weak event patterns, closure capture, static lambdas and events versus channels.
  4. LINQ and Expression Trees Interview QuestionsSenior C# interview questions on deferred execution, IQueryable translation, expression trees, compiled queries and EF Core client vs server evaluation.
  5. Records, Structs and Immutability Interview QuestionsSenior C# interview questions on record equality, with-expressions, record struct vs readonly struct, frozen vs immutable collections and value objects.
  6. Pattern Matching and Functional C# Interview QuestionsSenior C# interview questions on pattern matching, switch exhaustiveness, discriminated unions, Result and Option types, and functional, immutable C#.
  7. Reflection, Attributes and Source Generators Interview QuestionsSenior .NET interview questions on reflection costs, delegate caching, Reflection.Emit, UnsafeAccessor, custom attributes and Native AOT trade-offs.
  8. Nullable Reference Types Interview QuestionsSenior C# interview questions on nullable reference types, null-state analysis, migration strategy, required members, generics and serialization.
  9. IDisposable, Finalizers and Resource Management Interview QuestionsSenior C# interview questions on the dispose pattern, finalizers, SafeHandle, IAsyncDisposable, DI disposal rules and HttpClient socket exhaustion.

Memory & Performance 9

  1. Span<T> and Memory<T> Interview Questions for Senior .NET DevelopersSenior .NET interview questions on Span<T> and Memory<T>: ref struct rules, stackalloc safety, ArrayPool pooling, allocation-free parsing and review pitfalls.
  2. Allocation Reduction and Object Pooling Interview QuestionsSenior .NET interview questions on cutting allocations: ArrayPool, ObjectPool, RecyclableMemoryStream, string.Create, hidden boxing, closures and LINQ costs.
  3. Memory Leak Diagnosis Interview Questions for .NET EngineersLead-level .NET interview questions on diagnosing memory leaks: counters, gcdump, SOS dumpheap and gcroot, unmanaged leaks, fixes and regression monitoring.
  4. Performance Profiling Interview Questions for .NET DevelopersSenior .NET interview questions on performance profiling: sampling vs instrumentation, dotnet-trace, PerfView, flame graphs, lock contention and starvation.
  5. Benchmarking and BenchmarkDotNet Interview QuestionsSenior .NET interview questions on BenchmarkDotNet and load testing: microbenchmark design, statistics, CI benchmarks, k6, NBomber and p50/p95/p99 latency.
  6. High-Throughput .NET Services Interview QuestionsArchitect-level interview questions on Kestrel tuning, async I/O, System.IO.Pipelines, pooling, backpressure, Server GC with DATAS and tail latency.
  7. Collections Internals Interview Questions for .NET DevelopersSenior-level interview questions on Dictionary and HashSet internals, List growth, ConcurrentDictionary, frozen and immutable collections and presizing.
  8. JSON Serialization Performance Interview Questions in .NETSenior .NET interview questions on System.Text.Json vs Newtonsoft.Json, source generation, polymorphic types, streaming and untrusted-input security.
  9. Caching Strategies Interview Questions for .NET ArchitectsArchitect interview questions on cache-aside vs write-through, stampede prevention, HybridCache, TTL design, cache keys and Redis failure modes.

Async & Concurrency 8

  1. Async/Await Internals Interview QuestionsTen senior-level questions on C# async/await internals: the compiler state machine, awaiters, SynchronizationContext, ConfigureAwait and ExecutionContext.
  2. Task Parallel Library and Parallelism Interview QuestionsSenior-level TPL interview questions covering CPU-bound vs I/O-bound work, Parallel.ForEachAsync, PLINQ, partitioners and limiting concurrency.
  3. Thread Synchronization Interview QuestionsSenior-level thread synchronization interview questions covering lock, Monitor, the .NET 9 Lock type, SemaphoreSlim, ReaderWriterLockSlim and the memory model.
  4. Deadlocks and Race Conditions Interview QuestionsSenior-level questions on sync-over-async deadlocks, lock ordering, TOCTOU races, dump analysis and avoiding shared mutable state.
  5. System.Threading.Channels and Producer-Consumer Interview QuestionsSenior .NET interview questions on System.Threading.Channels: bounded vs unbounded channels, BoundedChannelFullMode, backpressure, and graceful shutdown.
  6. ValueTask, IAsyncEnumerable and Async Streams Interview QuestionsSenior .NET interview questions on ValueTask, IAsyncEnumerable and async streams: when ValueTask pays off, IValueTaskSource pooling, and cancellation.
  7. Cancellation, Timeouts and Graceful Shutdown Interview QuestionsSenior .NET interview questions on CancellationToken patterns, linked tokens, timeouts with WaitAsync, IHostApplicationLifetime, and graceful shutdown.
  8. Concurrent Collections and Lock-Free Programming Interview QuestionsSenior .NET interview questions on ConcurrentDictionary, ConcurrentQueue, ImmutableInterlocked, compare-and-swap loops, the ABA problem, and false sharing.

ASP.NET Core & Web APIs 9

  1. ASP.NET Core Request Pipeline Interview Questions10 senior ASP.NET Core interview questions on Kestrel, hosting models, middleware ordering, endpoint routing internals and HttpContext lifetime.
  2. Dependency Injection Interview Questions for Senior .NET Developers10 senior .NET interview questions on DI lifetimes, captive dependencies, scope validation, keyed services, decorators, disposal and anti-patterns.
  3. Minimal APIs vs Controllers Interview Questions10 senior ASP.NET Core interview questions comparing Minimal APIs and controllers on architecture, performance, Native AOT, testing and migration.
  4. REST API Design Interview Questions for Senior Engineers10 senior interview questions on REST API design: idempotency, versioning, cursor pagination, ProblemDetails, PATCH semantics, ETags and governance.
  5. ASP.NET Core Performance and Scalability Interview Questions10 architect-level ASP.NET Core interview questions on statelessness, caching, rate limiting, socket exhaustion, thread-pool starvation and capacity planning.
  6. Configuration, Options and Feature Flags Interview QuestionsSenior ASP.NET Core interview questions on configuration precedence, IOptions vs IOptionsSnapshot vs IOptionsMonitor, validation, secrets and feature flags.
  7. Blazor Interview Questions for Senior .NET DevelopersSenior-level Blazor interview questions covering render modes, circuits, state management, prerendering pitfalls, WebAssembly performance and authentication.
  8. gRPC and SignalR Interview Questions for Senior .NET DevelopersSenior-level interview questions on gRPC streaming, deadlines and HTTP/2 load balancing, plus SignalR scale-out, sticky sessions and delivery guarantees.
  9. API Gateway and Backend-for-Frontend (BFF) Interview QuestionsArchitect interview questions on API gateway responsibilities, YARP vs Azure API Management, BFF token security, aggregation and avoiding a gateway monolith.

Data & Persistence 8

  1. EF Core Internals Interview QuestionsSenior-level EF Core internals interview questions on change tracking, identity resolution, query translation, compiled models and interceptors.
  2. EF Core Performance Interview QuestionsSenior EF Core performance interview questions on N+1 queries, split queries, tracking, bulk updates, compiled queries and DbContext pooling.
  3. Transactions, Isolation Levels and Concurrency Control Interview QuestionsSenior interview questions on ACID, isolation levels, RCSI and snapshot isolation, optimistic concurrency, distributed transactions and deadlocks.
  4. SQL Query Optimization Interview Questions for .NET ArchitectsArchitect-level SQL Server interview questions on indexing, execution plans, parameter sniffing, statistics, Query Store, partitioning and sharding.
  5. NoSQL and Polyglot Persistence Interview QuestionsArchitect-level interview questions on choosing data stores, Cosmos DB partition keys, RU costs, consistency levels and polyglot persistence trade-offs.
  6. Repository and Unit of Work Pattern Interview QuestionsSenior .NET interview questions on the repository and unit of work patterns, generic repository pitfalls, the specification pattern and CQRS reads.
  7. Zero-Downtime Database Migration Interview QuestionsLead-level interview questions on zero-downtime database migrations, expand-contract, online indexes, safe backfills and running EF Core in pipelines.
  8. ADO.NET and Dapper Interview QuestionsSenior .NET interview questions on ADO.NET and Dapper covering connection pooling, DataReader streaming, SqlBulkCopy, multi-mapping and SQL injection.

Architecture & Design 9

  1. SOLID Principles Interview Questions at the Senior LevelSenior-level SOLID principles interview questions with real .NET examples, over-application pitfalls, testability, DI and refactoring guidance.
  2. Design Patterns Interview Questions for .NET ArchitectsArchitect-level design patterns interview questions covering Strategy, Decorator, Factory, Mediator and real ASP.NET Core and BCL examples.
  3. Clean, Onion and Hexagonal Architecture Interview QuestionsArchitect-level interview questions on Clean, Onion and Hexagonal Architecture covering the dependency rule, ports and adapters and vertical slices.
  4. Domain-Driven Design Interview QuestionsArchitect-level Domain-Driven Design interview questions on bounded contexts, aggregate sizing, domain events, anti-corruption layers and EF Core.
  5. CQRS and Event Sourcing Interview QuestionsArchitect-level CQRS and event sourcing interview questions on projections, event versioning, snapshots, GDPR crypto-shredding and operations.
  6. Modular Monolith vs Microservices Interview QuestionsArchitect-level questions on modular monoliths vs microservices: decision criteria, Conway's Law, the distributed monolith smell and migration paths.
  7. Architecture Decision-Making and ADR Interview QuestionsArchitect interview questions on quality attributes, trade-off analysis, ADRs, fitness functions and communicating architecture decisions to stakeholders.
  8. Legacy .NET Modernization Interview QuestionsLead-level interview questions on modernizing .NET Framework applications, covering the strangler fig pattern, WCF and Web Forms migration, and risk management.
  9. Technical Debt and Large-Scale Refactoring Interview QuestionsLead-level interview questions on identifying and measuring technical debt, prioritization frameworks, refactoring safely at scale and preventing new debt.

Distributed Systems & Microservices 9

  1. Microservices Design Interview Questions for .NET ArchitectsArchitect-level .NET interview questions on service boundaries, data ownership, API contracts, shared libraries, service templates and independent deployability.
  2. Messaging Patterns Interview QuestionsSenior .NET interview questions on delivery semantics, idempotent consumers, the outbox and inbox patterns, ordering, poison messages and schema versioning.
  3. Saga Pattern and Distributed Transactions Interview QuestionsArchitect .NET interview questions on choreography vs orchestration sagas, compensation design, saga state and MassTransit, NServiceBus and Durable Functions.
  4. Resilience Patterns Interview QuestionsSenior .NET interview questions on retries, backoff and jitter, circuit breakers, bulkheads, hedging, fallbacks, retry storms, Polly v8 and Http.Resilience.
  5. Service-to-Service Communication Interview QuestionsSenior .NET interview questions on sync vs async calls, REST vs gRPC vs messaging, service discovery, service mesh, mTLS and cross-service latency budgets.
  6. Observability and Distributed Tracing Interview QuestionsSenior and architect .NET interview questions on OpenTelemetry, W3C trace context propagation, sampling strategies, structured logging, SLOs and alerting.
  7. CAP, Consistency Models and Idempotency Interview QuestionsArchitect-level interview questions on CAP, PACELC, eventual consistency, read-your-writes, idempotency keys, clock ordering and conflict resolution in .NET.
  8. Event-Driven Architecture Interview QuestionsArchitect-level interview questions on events vs commands, Kafka partitions and consumer groups, schema registries, Azure messaging services and event storming.
  9. Actor Model Interview Questions: Orleans, Dapr and Akka.NETSenior .NET interview questions on the actor model: Orleans virtual actors, turn-based execution, reentrancy, persistence, placement, Dapr and Akka.NET.

Cloud, Azure & DevOps 8

  1. Azure Architecture Interview Questions for .NET ArchitectsIn-depth Azure architecture interview questions for .NET architects: compute choices, Well-Architected pillars, landing zones, networking, identity and HA/DR.
  2. Docker and Kubernetes Interview Questions for .NET DevelopersSenior Docker and Kubernetes interview questions for .NET developers: image size, container-aware GC, probes, graceful shutdown, config and autoscaling.
  3. CI/CD and Deployment Strategy Interview Questions for .NET TeamsCI/CD and deployment strategy interview questions for senior .NET engineers: pipeline design, trunk-based dev, blue-green, canary, flags and DORA metrics.
  4. Serverless and Azure Functions Interview Questions for .NET DevelopersSenior Azure Functions interview questions: the isolated worker model, cold starts, Durable Functions, scaling limits, idempotency and Flex Consumption.
  5. Infrastructure as Code Interview Questions for Senior .NET EngineersTen senior-level interview questions on Bicep, Terraform and Pulumi covering state, modules, drift detection, policy as code and testing IaC.
  6. Testing Strategy Interview Questions for Senior .NET EngineersTen lead-level interview questions on test pyramids, contract testing, Testcontainers, flaky tests, load testing and mutation testing in .NET.
  7. Scalability and Cloud Cost Optimization Interview Questions for .NET ArchitectsTen architect-level interview questions on autoscaling signals, capacity planning, caching, FinOps, reservations and right-sizing .NET workloads.
  8. .NET Aspire and Cloud-Native Development Interview QuestionsTen senior-level interview questions on Aspire's AppHost model, service defaults, testing and deployment, and how it compares to Compose, Dapr and Tye.

Security 6

  1. OAuth 2.0, OpenID Connect and JWT Interview QuestionsTen senior .NET interview questions on OAuth 2.0 PKCE, client credentials, JWT validation, refresh token rotation, BFF token storage and OAuth 2.1.
  2. Secure Coding and OWASP Interview Questions for .NETTen senior .NET interview questions on OWASP Top 10 risks: injection, XSS, CSRF, SSRF, insecure deserialization, broken access control and STRIDE.
  3. Identity Architecture and Zero Trust Interview QuestionsTen architect-level interview questions on Microsoft Entra ID, managed identities, workload identity federation, conditional access and Zero Trust design.
  4. Cryptography and Secrets Management Interview QuestionsSenior .NET interview questions on hashing vs encryption, password storage, Key Vault, HSMs, rotation, Data Protection, TLS and post-quantum crypto.
  5. API Security Interview Questions for .NET ArchitectsArchitect-level .NET interview questions on the OWASP API Security Top 10, rate limiting, input validation, mass assignment, CORS, mTLS and API keys vs tokens.
  6. Software Supply Chain Security Interview QuestionsLead-level .NET interview questions on NuGet Audit, lock files, source mapping, SBOMs, package signing, SLSA, repo secrets and hardening CI/CD pipelines.

System Design Scenarios 7

  1. System Design Interview: URL Shortener in .NETSenior .NET system design interview questions on building a URL shortener: ID generation, storage, caching, redirects, analytics and abuse controls.
  2. System Design Interview: Payment Processing System in .NETSenior .NET system design interview questions on payment systems: idempotency, double-entry ledgers, PSP integration, webhooks, sagas and PCI DSS scope.
  3. System Design Interview: Notification Service in .NETSenior .NET system design interview questions on notification systems covering multi-channel delivery, queueing, templating, rate limits and failover.
  4. System Design Interview: E-Commerce Order Management in .NETSenior .NET system design interview questions on e-commerce systems covering cart, inventory reservation, order sagas, catalog search and flash sales.
  5. System Design Interview: Distributed Rate Limiter in .NETArchitect-level system design questions on distributed rate limiters in .NET: algorithms, Redis and Lua, ASP.NET Core limits and failure modes.
  6. System Design Interview: Real-Time Chat with SignalRArchitect-level interview questions on designing real-time chat in ASP.NET Core SignalR: connection scale, presence, delivery receipts and offline push.
  7. System Design Interview: Enterprise AI Assistant (RAG Platform)Architect-level system design questions on an enterprise RAG platform in .NET: ingestion, retrieval, security trimming, caching and cost control.

Leadership & Engineering Management 4

  1. Tech Lead Interview Questions for Senior .NET EngineersSenior .NET tech lead interview questions on leading teams, technical direction, delegation, underperformance, coding balance and incident postmortems.
  2. Behavioral Interview Questions for .NET Architects with STAR AnswersBehavioral interview questions for .NET architects with sample STAR answers on stakeholder conflict, failed projects, influence and mentoring.
  3. Code Review, Mentoring and Engineering Culture Interview QuestionsInterview questions on code review standards, knowledge sharing, onboarding, psychological safety and measuring productivity with DORA and SPACE.
  4. Estimation, Planning and Stakeholder Management Interview QuestionsSenior .NET interview questions on estimation under uncertainty, roadmap negotiation, saying no, communicating risk and managing scope with product.

AI Engineering with .NET 5

  1. LLM Integration Interview Questions for .NET DevelopersSenior .NET interview questions on Microsoft.Extensions.AI, streaming, function calling, structured output, provider abstraction, retries and testing LLM code.
  2. RAG and Vector Search Interview QuestionsArchitect-level interview questions on RAG: chunking, embedding choice, hybrid search, reranking, groundedness, stale data, permissions and cost control.
  3. AI Agents and MCP Interview QuestionsArchitect-level interview questions on AI agents and MCP: the agent loop, tool design, orchestration, memory, human-in-the-loop and failure modes in .NET.
  4. Productionizing AI Applications Interview QuestionsArchitect-level interview questions on productionizing AI: evaluation, OpenTelemetry GenAI observability, cost, latency, prompt injection and compliance.
  5. ML.NET and ONNX Interview QuestionsSenior .NET interview questions on ML.NET and ONNX: pipeline design, feature engineering, evaluation metrics, PredictionEnginePool deployment and model drift.