Re:Astonishing Performance of .NET 5
by rishav_sharan on Thursday November 12, 2020 @09:27AM
(#25070206)
Yeah. I want to be able to use Kestrel without using ASP .NET.
Not very likely, but I think separating the two out would help the ecosystem a lot in the long run.
It is technically separated out. Just shipped with .NET Core in a big framework bundle called ASP.NET Core (which is in all containers etc anyway).
Look at the techempower benchmarks implementation .. they run as close as possible to Kestrel. They have variants with raw kestrel interface, some with low-level middleware (I guess with express like routing) and then full-blown MVC like comfort.
Re:Astonishing Performance of .NET 5
by rishav_sharan on Thursday November 12, 2020 @10:00AM
(#25070561)
Thanks for the pointer. I will check it out
And for sure, they are all based on ASP.NET Core. ASP.NET Core is extremely modular which allows, e.g. a middleware stack like Sinatra being built on top of ASP.NET Core's Kestrel webserver (which ... cite once again Techempower benchmarks) beats everything nearby in the current situation. It would be a horrible choice to built a web server framework right now on .NET without using Kestrel. You will never achieve to get close to the performance of that.