OpenTelemetry in .NET: Logs, Metrics and Distributed Tracing
Instrument .NET apps with OpenTelemetry: ActivitySource traces, Meter metrics, ILogger logs, OTLP export, sampling, propagation and backends.
21 articles about Diagnostics & Debugging: in-depth .NET and AI guides, senior interview questions and AI news on DotNet AI Hub.
Instrument .NET apps with OpenTelemetry: ActivitySource traces, Meter metrics, ILogger logs, OTLP export, sampling, propagation and backends.
Speed up EF Core with proven techniques: no-tracking queries, projections, split queries, pooling, compiled queries, bulk updates, indexes and SQL logging.
A deep dive into CLR internals: IL and metadata, the type loader, MethodTables, precode and JIT, interface dispatch, object layout, AssemblyLoadContext and SOS.
How the .NET garbage collector works: generations, LOH and POH, regions, workstation vs server GC, DATAS, container limits, finalization and tuning.
How RyuJIT, tier 0/tier 1 compilation, On-Stack Replacement and Dynamic PGO trade startup time for throughput, and how to inspect and tune them.
A practical guide to dotnet-counters, dotnet-trace, dotnet-dump, dotnet-gcdump and dotnet-monitor for diagnosing .NET apps in production.
How memory leaks happen in a garbage-collected runtime, the most common causes, and a step-by-step workflow to find and fix them with gcdump and SOS.
Senior-level questions on sync-over-async deadlocks, lock ordering, TOCTOU races, dump analysis and avoiding shared mutable state.
Senior Docker and Kubernetes interview questions for .NET developers: image size, container-aware GC, probes, graceful shutdown, config and autoscaling.
Senior .NET interview questions on probing, deps.json, AssemblyLoadContext isolation and unloading, diamond dependencies, strong naming and roll-forward.
Senior .NET interview questions on CLR internals: IL and metadata, type loading, AssemblyLoadContext, CoreCLR vs Mono vs NativeAOT and method dispatch.
Ten senior .NET interview questions on exception cost, the two-pass model, filters, ExceptionDispatchInfo, IExceptionHandler and Result patterns.
Senior .NET interview questions on GC internals: generations, card tables, LOH/POH and regions, server vs workstation GC, DATAS, latency modes and containers.
Senior .NET interview questions on tiered compilation, OSR, Dynamic PGO, ReadyToRun, inlining, devirtualization, bounds-check elimination and Native AOT.
Ten thread pool interview questions covering worker vs I/O threads, hill-climbing, starvation, SetMinThreads and the .NET 6 portable pool.
Senior C# interview questions on the dispose pattern, finalizers, SafeHandle, IAsyncDisposable, DI disposal rules and HttpClient socket exhaustion.
Senior EF Core performance interview questions on N+1 queries, split queries, tracking, bulk updates, compiled queries and DbContext pooling.
Senior and architect .NET interview questions on OpenTelemetry, W3C trace context propagation, sampling strategies, structured logging, SLOs and alerting.
Architect-level interview questions on Kestrel tuning, async I/O, System.IO.Pipelines, pooling, backpressure, Server GC with DATAS and tail latency.
Lead-level .NET interview questions on diagnosing memory leaks: counters, gcdump, SOS dumpheap and gcroot, unmanaged leaks, fixes and regression monitoring.
Senior .NET interview questions on performance profiling: sampling vs instrumentation, dotnet-trace, PerfView, flame graphs, lock contention and starvation.