Using hangfire dashboard with console project

I do have a console only project and trying to use the dashboard;

        using (WebApp.Start<Startup>("http://localhost:8080"))
        {
            Console.WriteLine("Server started... press ENTER to shut down");
            Console.ReadLine();
        }

    public class Startup
    {
        public void Configuration(IApplicationBuilder app)
        {
            app.UseHangfireDashboard();
        }
    }

But can’t get it working.

Anyone have a working example?