Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Is it possible to enable PWA functionalities for a single page in Blazor interactive rendering WebApp (.NET 8)

$
0
0

It seems I am victim of confusion connected to Blazor, its rendering modes and PWA possibilities with Blazor web assembly.

A Blazor Progressive Web Application (PWA) is a single-page app (SPA) that uses modern browsers to behave like a desktop app

I see that it's possible to create a Blazor PWA with the web assembly standalone app.

It seems it's even possible to add PWA functionality to a Blazor web app (project template) with interactive rendering (at least I was able to test this in development environment, without offline capabilities (!)).

Now my question is: a Blazor web app can have multiple pages (https://url/path1, https://url/path2 etc.). As each page can have a different layout, is it possible to enable the pwa functionalities for a single page in a Blazor web app with interactive rendering enabled?

Goal of this would be, that there is one page (e.g. https://url/path1) with server-side rendering components (no interactions with buttons etc.) and one page (e.g. https://url/path2) that should be usable and reloadable (!) completely offline. Latter does not need any access to path1 (hence different layout).


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>