ASP.NET Core 5 Route to Code: Taking advantage of Microsoft.AspNetCore.Http json extensions

by anthonygiretti, 2020-09-29T01:23:21.332Z

A while ago, I have introduced a cool feature of ASP.NET Core: how to build a lightweight API without using a framework. I named it like this: Nano service with ASP.NET Core: which you can find here: -to-build-a-light-api, I still like this feature and Microsoft called it: Route to Code, how could I not have thought about it before? In this article I will tell you about an improvement made by ASP.NET Core 5: a simpler writing of Route to Code services thanks to JSON extensions for HttpRequest and HttpResponse based on System.Text.Json brought by ASP. NET Core 3 in 2019.

Read More