News for hackers. Stuff that matters.
Re:Minimal APIs at a glance in .NET 6 by thrower123 on Monday September 13, 2021 @08:38AM (#28510712)
On the one hand, I've been using approximately this style for defining routes for years using NancyFx. It's easy, it's explicit, it's much better than either the attribute or convention routing ASP MVC and WebApi have used.

On the other, I hate how this is telescoping all the configuration and setup code into a blackbox. Any kind of real project, even minimal microservices, is going to have to deal with authentication and caching and logging and monitoring middlewares, and it's bad that these samples obfuscate the way that one would do that.

There are no comments on this comment yet.