Is it possible to get a list of all pages in a .NET 5 Razor Pages application?
I have done it in MVC and Blazor before by getting a list of all types in the application and filtering it by their base types (Controller for MVC and ComponentBase for Blazor).
For Razor Pages you could do it by getting all types that implement PageModel, but that doesn't seem to work for pages that do not have a code-behind .cshtml.cs model file.