Re:SimpleW – Web Server Library .NET Core
by sandreas on Tuesday August 05, 2025 @11:17AM
(#44799128)
There's also Fast Endpoints[1], which Kind of the best of both worlds, minimal-API and REPR.
Re:SimpleW – Web Server Library .NET Core
by tracker1 on Tuesday August 05, 2025 @12:45PM
(#44800480)
Came to mention the same... really like FastEndpoints myself a lot.
Same although Minimal APIs are slowly getting there. In dotnet 10 we will finally get validation.
Re:SimpleW – Web Server Library .NET Core
by tracker1 on Tuesday August 05, 2025 @03:37PM
(#44803189)
Fair enough... I'd probably stick to Minimal APIs if there were fewer than 5-10 routes in a smaller service. But, with the startup and runtime overhead of .Net, I'm inclined to prefer more monolithic approaches for most general use. Just without weighing it down with a lot of heavy handed enterprisey abstractions.
Edit: Of course, Aspire definitely looks interesting for more complex needs.
AFAIK FastEndpoints uses Minimal APIs... so wouldn't the overhead be similar?
Re:SimpleW – Web Server Library .NET Core
by tracker1 on Thursday August 07, 2025 @12:59PM
(#44826981)
They do, and it's not so much about the overhead in terms of performance so much as the cognitive load of spreading out what would otherwise be a smaller/simpler codebase.
Re:SimpleW – Web Server Library .NET Core
by prodbro on Tuesday August 05, 2025 @03:10PM
(#44802794)
> There's also Fast Endpoints[1]
thank for the pointer !
The syntax seems cool and comprehensive, i like it.
I made some test and like its name, it is very fast : performances are closed to SimpleW, just a little bellow. But its memory footprint is the half, so i'm impressed. I will check the code, sure there are interesting things into.
Re:SimpleW – Web Server Library .NET Core
by phendrenad2 on Tuesday August 05, 2025 @11:28AM
(#44799278)
For the uninitiated, what's wrong with NetCoreServer?
Re:SimpleW – Web Server Library .NET Core
by bravesoul2 on Tuesday August 05, 2025 @10:08AM
(#44798163)
I wonder. Is this one meant to deal with raw internet traffic or sit behind an ingress e.g. IIS?
Re:SimpleW – Web Server Library .NET Core
by brainzap on Tuesday August 05, 2025 @10:39AM
(#44798561)
minimal APIs is microsoft bullshit
also what does performance matter on webservers
Re:SimpleW – Web Server Library .NET Core
by qingcharles on Tuesday August 05, 2025 @11:48AM
(#44799566)
Performance matters to me. I'm on a budget, running tiny Hetzner boxes. Every cycle counts.
Re:SimpleW – Web Server Library .NET Core
by bob1029 on Tuesday August 05, 2025 @10:48AM
(#44798717)
> minimal APIs is microsoft bullshit
Agreed, but it is the least smelly pile they have on offer.
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
From a performance standpoint, it is very difficult to beat kestrel now. If you don't want all the fancy Microsoft bullshit (I certainly don't), use the minimal APIs and map out routes to lightweight HttpContext handlers.