News for hackers. Stuff that matters.
Re:The Case for C# and .NET by CharlieDigital on Monday July 25, 2022 @09:11AM (#32223759)
You did something wrong.

  dotnet new webapi -minimal
This will scaffold a project which is more or less the exact same as Flask, Express, or any other "easy" framework.

OpenAPI output is built-in, but tooling for development does require a bit of knowledge (agree that Microsoft would benefit from making this work out of the box).

A small repo here showing how to connect OpenAPI and front-end TypeScript client generation: https://github.com/CharlieDigital/dotnet6-openapi

There are no comments on this comment yet.