You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded from 0.9 to the latest 0.12. On the way I had some difficulties.
After following the instructions carefully, running in Debug and Release both failed. It was possible to browse the site, but pictures didn't appear at all, and Bulma was obviously not working.
I decided to download the latest Bolero template, create a new Bolero solution, and compare that with my source. I found out that there was one assembly missing, and some source lines missing.
which is missing in the template, I now have this line from the template
endpoints.MapBlazorHub() |> ignore
I don't know whether I should use one of these lines or both. Can I have some advice about this, please.
My web server works well now.
Thanks for a great product.
edit: I wrote "doesn't seem" in the title, because I don't know for sure what my project should have looked like before I started the upgrade. Maybe I've missed something at some point earlier.
The text was updated successfully, but these errors were encountered:
I just upgraded from 0.9 to the latest 0.12. On the way I had some difficulties.
After following the instructions carefully, running in Debug and Release both failed. It was possible to browse the site, but pictures didn't appear at all, and Bulma was obviously not working.
I decided to download the latest Bolero template, create a new Bolero solution, and compare that with my source. I found out that there was one assembly missing, and some source lines missing.
The missing assembly in my server was
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.0" />
Further study of the template revealed the following.
The line
I have replaced with
The instructions tell us to replace this
with this
which I did first, but instead of
endpoints.MapControllers() |> ignore
which is missing in the template, I now have this line from the template
endpoints.MapBlazorHub() |> ignore
I don't know whether I should use one of these lines or both. Can I have some advice about this, please.
My web server works well now.
Thanks for a great product.
edit: I wrote "doesn't seem" in the title, because I don't know for sure what my project should have looked like before I started the upgrade. Maybe I've missed something at some point earlier.
The text was updated successfully, but these errors were encountered: