I have an API that also includes several Razor pages. I'd like to make one of those razor pages available only during development as it is some support tool.
What is the best way to do that? Use IPageFilter? Use Condition attribute in csproj file to exclude the content file?
Any working example is appreciated.