Problem in ...
5. Add the following for correct routing before the app.run at the bottom of the Program.cs
// Required for Reveal
app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
});
yeilds error - "Suggest using top level route registrations instead of UseEndpoints"
this error disappears if replaced by ...
// Required for Reveal
app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}"
);