Blog60.7K views1,454 votes0 replies3,705 following
When System.Text.Json Source Generation Is Worth It in ASP.NET Core
System.Text.Json source generation isn't a universal speedup — it's a way to make serialization trim‑safe and predictable. Here’s how to scope it to the DTOs that matter.