Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.31k stars 533 forks source link

New Blazor WASM site in "hosted" mode, error starting the application #3458

Closed jseeley-cricut closed 2 years ago

jseeley-cricut commented 2 years ago

Describe the bug Created a brand new Blazor WASM "hosted" project in .NET 6 as per Microsoft docs.

To Reproduce Steps to reproduce the behavior:

  1. using the following command: dotnet new blazorwasm --hosted -o HostedTest

  2. Add Blazorise to the .Client application per documentation

  3. Run the .Server application in debug mode

  4. See an error

Expected behavior Expected the site to load and start using Blazorise resources. This does work if I launch the client application directly instead of using the Server application passthrough.

Screenshots

Screenshot 2022-02-15 190643

Additional context Add any other context about the problem here.

jseeley-cricut commented 2 years ago

Update; I realized that I also switched to host in IIS, not Kestrel or IIS Express. This is an issue locally on my debug machine with IIS alone. Works in Kestrel, works in IIS Express. I'm closing this because it is a hosting related issue (and likely permissions at that).