public static IApplicationBuilder Use(this IApplicationBuilder app, System.Web.IHttpAsyncHandler httpHandler) { return app.Use(httpHandler.Middleware); }