AdminDatabaseFeature Setup

I have the default locode solution in place with a .net 6.0 target framework. I would like to add the AdminDatabaseFeature. When I add the plugin nothing will display on the admin-ui page, just 404 not found. How can I augment the solution so this works properly?

public class ConfigureDb : IHostingStartup
{
    public void Configure(IWebHostBuilder builder) => builder
        .ConfigureServices((context, services) => {
            services.AddSingleton<IDbConnectionFactory>(new OrmLiteConnectionFactory(
                context.Configuration.GetConnectionString("DefaultConnection")
                ?? "Server=server;Database=db;User Id=user;Password=pwd;MultipleActiveResultSets=True;",
                SqlServer2012Dialect.Provider));
        })
        .ConfigureAppHost(appHost => {
            // Enable built-in Database Admin UI at /admin-ui/database
            appHost.Plugins.Add(new AdminDatabaseFeature());
        });
}

That should be all that’s needed, the only thing that would be different would be if you’re using Endpoint Routing where you would need to register plugins in ConfigureServices(), e.g:

.ConfigureServices((context, services) => {
    services.AddSingleton<IDbConnectionFactory>(...,
        SqlServer2012Dialect.Provider));
    services.AddPlugin(new AdminDatabaseFeature());
})