News for hackers. Stuff that matters.
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.
Re:Minimal APIs at a glance in .NET 6 by oaiey on Monday September 13, 2021 @12:31PM (#28513489)
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.