Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Blazor WASM Project to A Progress Web App

With recent updates to .NET 5 / ASP.net Core, Microsoft has added support for creating a hosted Blazor WASM project as a Progressive Web App.

I have an already established project in which I would like to transition to being a Progressive Web App.

I've searched around on Microsoft's documentation for what this "conversion" looks like but haven't been able to find it.

Does anyone have a solution for how to modify an existing Blazor WASM project to function as a PWA?

like image 480
Taylor C. White Avatar asked Mar 06 '26 10:03

Taylor C. White


1 Answers

I created two solutions same name different folders. 1st non PWA 2nd PWA both self hosted. I committed the non PWA to git. Then copied the PWA over the top of the first. The image is basically the changes. Here is a link to the commit

enter image description here

like image 186
Brian Parker Avatar answered Mar 09 '26 00:03

Brian Parker