Test project for blazor net9
Reproducign errors with Path Base.
- Created new project.
- Add single line to map path base in Project.s
- Fix up the base tag in App.razor. I pulled this from httpContext instead of hard coding. This works correctly.
- Run project and it (pre) renders correctly in static mode.
- No interactive functionality. Can't increment counter page.
- Interaction shows Blazor 405 (Screenshot attached)
- Fix that by Add UseRouting()
- Program appears to work, but will fail behind proxy
- The Browserlink is retrieved without correctly using pathbase (screenshot attached)\
I also added in some custom middleware to help demonstrate and catch the bug. It doesn't actually intercept the incorrect GET - I'm guessing the blazor files are earlier in the middleware pipeline than I can intercept.