Re:Minimal APIs at a glance in .NET 6
by reverseblade2 on Monday September 13, 2021 @07:39AM
(#28510203)
I like giraffe better.
https://github.com/giraffe-fsharp/Giraffe
[ Parent
| on HN ]
Re:Minimal APIs at a glance in .NET 6
by phillipcarter on Monday September 13, 2021 @11:59AM
(#28513128)
I do too! One thing I do hope happens is Giraffe is able to use some of the newer APIs to simplify configuration. Config is generally something you stuff in a file to not look much at, but it can sometimes feel kinda hairy.
Re:Minimal APIs at a glance in .NET 6
by pharmakom on Monday September 13, 2021 @08:59AM
(#28510929)
Suave is a cleaner API in my view but Giraffe has better performance on the edges.
When I was doing F#, I loved both of these projects. I don't think we should always view ExpressJS/Sinatra (from Ruby) as "the standard", but there's also something to not having to do an hour of work before we can get endpoints serving responses.