ASP.NET: Then vs Now – JSON Serialization Performance
We primarily utilized Newtonsoft back then. JSON.
It wasn’t the fastest, but it was adaptable.
Now in the built-in system, ASP.NET 8. Text.Json is memory and speed optimized.
Afterward, Newtonsoft.JSON
var json = JsonConvert.SerializeObject(myObject);
Now (System.Text.Json)
Benchmarks
50–70% faster than Newtonsoft
Much lower memory allocations
Built-in for all ASP.NET APIs (no extra package)
For most apps, System.Text.Json is the best choice.
Use Newtonsoft.Json only if you need advanced features (e.g., polymorphic serialization).
Pro tip: In .NET 8, System.Text.Json now supports required properties, polymorphism, and contract customization — so even fewer reasons to use Newtonsoft.
ASP.NET 8.0 Hosting Recommendation
HostForLIFE.eu
HostForLIFE.eu is a popular recommendation that offers various hosting choices. Starting from shared hosting to dedicated servers, you will find options fit for beginners and popular websites. It offers various hosting choices if you want to scale up. Also, you get flexible billing plans where you can choose to purchase a subscription even for one or six months.