0
votes

I have an existing website in Blazor Web assembly and it is working fine with Azure store account (Azure Storage Static Website).

The same app, I deployed in Azure Static WebApp through GitHub workflow action and it's not working.

I can see below errors in the browser console window.

enter image description here

Only Javascript files under _content and _framework folder not able to load. I don't see any option in Azure Static WebApp to verify these files deployed successfully or not.

Updated

Visual Studio 2019 default template app with default github workflow working but I cannot use default workflow file so I tried to change as per my folder structure, below is my project structure

Root/MyApp/MyApp.csproj

Root/MyAPI/MyAPI.csproj

1

1 Answers

0
votes

Azure Static Web Apps are currently in preview and support JavaScript and TypeScript front-end apps including those developed with popular frameworks like Vue.js, React, Angular and more.

Since it uses Github actions to deploy the application we just need to modify the workflow file generated by azure static web app to deploy our Blazor Application.

you can refer the article to deploy Blazor WASM app: https://www.maneu.net/blog/2020-05-deploy-blazor-client-apps-with-azure-static-apps/