News for hackers. Stuff that matters.
Re:ASP.NET Core Blazor by CharlieDigital on Friday October 06, 2023 @10:15PM (#37798459)

    > I’d never use C# for web dev if I weren’t forced to
.NET Web API is where it's at. I built an Express backend today and it feels primitive. The new minimal templates Web API templates are really good and even easier to get rolling than Express.
Re:ASP.NET Core Blazor by jmkni on Saturday October 07, 2023 @06:51AM (#37800647)
I've been using NestJS recently and it is a nice middle ground between the 2.

You get the power of Types with the flexibility of Express (as well as access to the entire node ecosystem), I like it.

Re:ASP.NET Core Blazor by CharlieDigital on Saturday October 07, 2023 @11:34AM (#37802578)
I've used Nest and what really got me was that it seemed like a weird compromise.

It performs almost an order of magnitude worse than ASP.NET Core and isn't any simpler (TechEmpower; considering only the EF + PG non-middleware cases).

I feel like if a team is comfortable with TypeScript and considering Nest.js, C# and .NET Core Web APIs are not any harder, but you get much better throughput for your compute spend.