enkodellc / blazorboilerplate

Blazor Boilerplate / Starter Template with MudBlazor
MIT License
1.87k stars 372 forks source link

_Framework hosting #399

Closed solidcloudio closed 4 years ago

solidcloudio commented 4 years ago

In my clone of this project, something has changed to where the _framework resources aren't hosted on my site. So, Blazor fails to load because of the missing _framework resources.

I don't see where these are hosted or stored? If I add a reference to https://www.nuget.org/packages/Microsoft.AspNetCore.Components.WebAssembly.Build/3.2.1?_src=template

It seems to work, but this shouldn't be required.. Thoughts on this?

GioviQ commented 4 years ago

Did you try development branch?

solidcloudio commented 4 years ago

It works fine with a clone of the this repo... not sure what I changed.. just trying to understand what hosts _framework ? Where is this defined ?

GioviQ commented 4 years ago

It is generated during build to support wasm.

solidcloudio commented 4 years ago

yeah thats why I dont get that without a reference to Microsoft.AspNetCore.Components.WebAssembly.Build, my _framework isnt there... too much "magic" going on in these .nuget packages...

solidcloudio commented 4 years ago

Do you know anywhere in the ASP.NET docs it talks about this _framework being hosted ?

solidcloudio commented 4 years ago

https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/additional-scenarios?view=aspnetcore-3.1 This talks about it a bit... I'm still confused between the differences in code to run this client side vs server side..

GioviQ commented 4 years ago

https://blazor-boilerplate.readthedocs.io/en/latest/