ASP.NET MVC Core: Migrating ActionFilters Into Middleware Components