Questions tagged [blazor-pwa]

8 questions
5
votes
4 answers

Blazor WASM PWA Cannot Change Icon, Cannot Change Name

I'm struggling with a case where I've done good research on how to it. It works for everyone but not for me!! Environment: Microsoft Windows 10 Pro Visual Studio Community Edition 2019 So I've created a project and selected Progressive Web…
3
votes
1 answer

Blazor WASM(Hosted) with PWA : How to change the current service worker code to use Network First Strategy?

The Current code looks like does Cache first Strategy, How to modify it use Network first and than fallback to cache if network fails ? async function onFetch(event) { let cachedResponse = null; if (event.request.method === 'GET') { …
NSS
  • 1,835
  • 2
  • 29
  • 66
2
votes
1 answer

How can you check if you are online in a Progressive Web Application

I am developing a Progressive Web Application and I am trying to make sure that end users can access and edit their information locally while offline and then sync it with the database once coming back online. I know its possible I just cannot seem…
Alrampaz
  • 21
  • 2
2
votes
1 answer

How to Deploy Blazor PWA App With Rest API (In Virtual Directory) on IIS

step 1 - i have a simple blazor pwa app which we hosting in sub domain. Step 2 - Created new virtual directory Step 3 - Uploaded APIERP within that virtaul drectory As blazor is SPA it stops accesss of virtual directory due to routing i tried to…
2
votes
2 answers

Is there an easier way to determine that a Blazor App (PWA) has an update available?

When I look for examples for determining that a Blazor App (PWA) has an update available I find many lengthy examples focusing on service-worker.js rewrites. Is there a easier way? Or a way that leaves the service-worker.js intact?
MEC
  • 1,690
  • 1
  • 17
  • 23
1
vote
1 answer

BlazorWASM wwwroot has no index.html, works in dev still? Published version just shows files

I am trying to figure out how to get the published BlazorWASM app to show the actual client on the ip. Right now it just shows all the files and everywhere I look it says modify index.html. I come from React so naturally this was the same there too,…
badCode
  • 11
  • 1
0
votes
3 answers

New in Blazor with some rookie questions

I'm new in Blazor, and i want to create a PWA to work (almost) full offline. The user must Authenticate (Microsoft.AspNetCore.Authentication). Then i need to get some data from SQL Server and store it in the browser LocalStorage. After that, all the…
Nuno Rato
  • 1
  • 1
  • 1
  • 5
0
votes
0 answers

Posting a model with image file from a PWA WebAssembly to an ASP.NET Core Web Api (Net 6)

I'm trying to post a model with an image file and other data from my PWA to my ASP.NET Core Web Api. I succeed with the Api and Postman, but I can't get it working from the PWA. Furthermore, the model should include an IFormFile but the InputFile…
Matias Masso
  • 1,670
  • 3
  • 18
  • 28