Feather HTTP like minimal hosting is making its way to the aspnetcore framework with .NET 6. It will be more like express.js way. Check out the following example. This won’t be a breaking change, but this will be another style of doing so.
Read more: https://www.reddit.com/r/dotnet/comments/mup6bm/minimal_hosting_making_its_way_to_aspnet_core/