~/talk

Your clients are lying! Adventure with leaky .NET

Talkat Dotnetos Conference 2022 · 2022-10-10..10-12· [testing]
slides:none on file

Claim: C# nullable reference types are only compile‑time warnings so runtime deserialization still produces invalid objects and hidden NullReferenceExceptions. Demonstration shows JSON-to-object pitfalls, a proof‑of‑concept validator using reflection and libraries like NullabilityInfo and nullability reflection, and a pragmatic stack: enable warnings-as-errors, use the csharp extensions analyzers, adopt strong‑typed IDs and union‑style modeling to get exhaustive switches and fail‑fast behavior. Practical fixes and migration strategies for existing .NET codebases are given.

AI-written summary · about

  1. 0:00Start
  2. 2:19What Is a Null Pointer Exception and How Do We Fix It
  3. 4:39Conclusion
  4. 7:11Nullable Types
  5. 9:14Difference between the Dotnet 5 Version and Dotnet6 Version
  6. 9:57Weather Forecast
  7. 15:18How Can We Help Ourselves
  8. 19:13Initialization
  9. 27:48Json Converters
  10. 30:08Oop Object Oriented Programming
  11. 37:00Is It Possible To Have a Tanked Union in C Sharp
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.