Use project Tye to host Blazor WASM and ASP.NET Web API on a single origin to avoid CORS
-
.NET
Using Microsoft's experimental Project Tye, you configured the proxy to forward requests to '/api' to the Web API, and all other requests to the Blazor WASM client.