danroth27 / Net8BlazorWebAssembly

ASP.NET Core hosted Blazor WebAssembly app with .NET 8
MIT License
31 stars 9 forks source link

Failed to load resource: the server responded with a status of 404 (Not Found) #9

Open zuhassan opened 7 months ago

zuhassan commented 7 months ago

I am trying to migrate a development Blazor WASM project from .NET 7 to .NET 8. I have followed following article from the microsoft website.

https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-8.0&tabs=visual-studio

The project builds without any error but in the chorme and edge browsers i got the following error

Failed to load resource: the server responded with a status of 404 (Not Found) Uncaught (in promise) Error: Failed to start platform. Reason: TypeError: Failed to fetch dynamically imported module: http://localhost:5193/_framework/dotnet.js at ti (blazor.web.js:1:163957) could you please explain what should i do to overcome this problem. Many Thanks