Skip to content

peterharding93/testing-aspnet-blazor-net9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

testing-aspnet-blazor-net9

Test project for blazor net9

Reproducign errors with Path Base.

Repo steps:

  1. Created new project.
  2. Add single line to map path base in Project.s
  3. Fix up the base tag in App.razor. I pulled this from httpContext instead of hard coding. This works correctly.
  4. Run project and it (pre) renders correctly in static mode.
  5. No interactive functionality. Can't increment counter page.
  6. Interaction shows Blazor 405 (Screenshot attached)
  7. Fix that by Add UseRouting()
  8. Program appears to work, but will fail behind proxy
  9. 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.

About

Test project for blazor net9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published