2 ms·
The API adoption is in many ways the other way around - for example, a lot of JS frameworks are now mimicking HttpContext that ASP.NET and ASP.NET Core had for
by neonsunset 3y ago
The API adoption is in many ways the other way around - for example, a lot of JS frameworks are now mimicking HttpContext that ASP.NET and ASP.NET Core had for more than a decade. Ultimately, registering and routing endpoint is usually a smaller part of the project, but yes, the introduction of minimal API especially in combination with top-level statements is welcome
Otherwise, JS is an immediate productivity loss as you cannot trivially refactor the code, a lot of features exist to mimic strong typing (or you just use TypeScript instead), it cannot be directly compared. You use JS when it makes sense, when you have to. Pure back-end is not that situation.