News for hackers. Stuff that matters.
Re:Minimal APIs at a glance in .NET 6 by reverseblade2 on Monday September 13, 2021 @07:39AM (#28510203)
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.
Re:Minimal APIs at a glance in .NET 6 by nobleach on Monday September 13, 2021 @10:31AM (#28511984)
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.
Re:Minimal APIs at a glance in .NET 6 by pharmakom on Monday September 13, 2021 @03:38PM (#28515780)
Suave can do an API server in a few lines in an F# script file - I think it’s even terser than ExpressJS, which requires a package.json.