4 ms·
NancyFX was a Sinatra Port for .NET Framework. I belief the current .NET Core variant is called Carter. And for sure, they are all based on ASP.NET Core. ASP.N
by oaiey 6y ago
NancyFX was a Sinatra Port for .NET Framework. I belief the current .NET Core variant is called Carter.
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.
- rishav_sharan 6y agoYeah. 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.
- oaiey 6y agoIt 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.
- rishav_sharan 6y agoThanks for the pointer. I will check it out