Project created by dotnet new blazor -int WebAssembly -ai cannot be deployed to a static web site #55658
Closed
1 task done
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
question
Status: Resolved
Is there an existing issue for this?
Describe the bug
In .net 7, I can create 2 projects with dotnet blazorwasm --hosted and deploy the Client project to a static web site. My usage is to load this Client project into a MAUI WebView and the Client will call a specifc API server to do business.
In .net 8, I created 2 projects with dotnet new blazor -int WebAssembly -ai but there is no way to deploy the Client to a static web site to be loaded into MAUI WebView.
Expected Behavior
Same as previous blazorwasm --hosted, project created with dotnet new blazor -int WebAssembly -ai should be able to deploy to static web site.
Steps To Reproduce
Exceptions (if any)
The static web site failed to load
.NET Version
.net 8
Anything else?
No response
The text was updated successfully, but these errors were encountered: