Uno.Wasm.Bootstrap
Uno.Wasm.Bootstrap copied to clipboard
ASP .NET Minimal Webserver PWA Offline Support
I use the .NET 8 WASM template incl. PWA support.
When I run a ASP .NET Minimal Webserver
`var builder = WebApplication.CreateBuilder(args); //builder.WebHost.UseUrls("http://0.0.0.0:5000");
builder.Services.AddDirectoryBrowser(); var app = builder.Build();
app.UseUnoFrameworkFiles();
app.MapFallbackToFile("index.html");
app.Run();`
I am able to install the PWA; however, it only works when the server is online.
Thanks for the report. Can you tell which version of the bootstrapper or uno.sdk you're using?
Sure
Uno.Wasm.Bootstrap.Server" Version="8.0.23"
Uno Platform 5.6.46.70
I tested the behavior with Uno Platform 6.0.30.30, and the project template includes the web server. Same issue: installing the PWA is possible, but offline support without running the server doesn't work.