Practical Null Safety with C# Nullable Reference Types
Nullable Reference Types in C# 8.0 move null safety from runtime to compile time, but require careful adoption at API boundaries and trust edges.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Nullable Reference Types in C# 8.0 move null safety from runtime to compile time, but require careful adoption at API boundaries and trust edges.
Learn how to spot thread‑pool starvation in ASP.NET Core, diagnose it with metrics and dumps, apply fixes, and know when to look beyond code.
Learn how ReadOnlySpan<T> enables zero-allocation string slicing in C# for high-performance parsing of large datasets without GC pressure.
Source generators move mapping boilerplate from runtime reflection to compile-time code emission. A worked example shows a tiny attribute-driven mapper that produces debuggable, zero-overhead C# during the build.
Learn how to use ReadOnlySpan<T> to eliminate unnecessary heap allocations during string parsing in C#, reducing GC pressure and improving application latency.
Learn how to turn on C# 8.0 nullable reference types, interpret compiler warnings, and safely suppress or promote them in a real .NET codebase.
Learn how to spot UI freezes or request hangs caused by blocking on async methods, understand the synchronization-context deadlock, and apply targeted fixes.
Nullable reference types move null bugs from runtime to build time — but enabling them naively floods legacy code with warnings. Compare the enablement modes and adopt them incrementally.
CodeLens puts reference counts, Git authorship, and test status directly above your methods in Visual Studio. Used as a decision filter before refactoring, it tells you the blast radius of a change without leaving the editor.