News for hackers. Stuff that matters.
Re:SimpleW – Web Server Library .NET Core by pier25 on Tuesday August 05, 2025 @02:55PM (#44802576)
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.

Re:SimpleW – Web Server Library .NET Core by pier25 on Tuesday August 05, 2025 @04:11PM (#44803621)
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.