Re:Minimal APIs at a glance in .NET 6
by inshadows on Monday September 13, 2021 @07:11AM
(#28509995)
Also the word "public" is missing. Cute examples, but I guess you're supposed to set up firewall for auth.
[ Parent
| on HN ]
You can just add auth middleware in there. This is still full fledged ASP.NET Core. They just wire it up using a different style. There is a chapter in the referenced gist about adding middleware.
But I guess you more meant the example than the actual tech.