.NET Core 3.1 Dashboard not working on server, working local with Auth

ASP.NET Core 3.1 dashboard not working on server

  • works fine locally with custom IDashboardAuthorizationFilter
  • getting 404, tried adding this to web.config based on stack overflow post:
    now getting 500 error Handler “hangfireDashboard” has a bad module “ManagedPipelineHandler” in its module list, app pool is managed

Sorry added this to web.config : <add name="hangfireDashboard" path="hangfire" type="System.Web.DefaultHttpHandler" verb="*" />

(forum wouldn’t let me edit post – says too similar)