DMBProgressiveWebAppBuilder 0.27.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DMBProgressiveWebAppBuilder --version 0.27.0
                    
NuGet\Install-Package DMBProgressiveWebAppBuilder -Version 0.27.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DMBProgressiveWebAppBuilder" Version="0.27.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DMBProgressiveWebAppBuilder" Version="0.27.0" />
                    
Directory.Packages.props
<PackageReference Include="DMBProgressiveWebAppBuilder" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DMBProgressiveWebAppBuilder --version 0.27.0
                    
#r "nuget: DMBProgressiveWebAppBuilder, 0.27.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DMBProgressiveWebAppBuilder@0.27.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DMBProgressiveWebAppBuilder&version=0.27.0
                    
Install as a Cake Addin
#tool nuget:?package=DMBProgressiveWebAppBuilder&version=0.27.0
                    
Install as a Cake Tool

DMBProgressiveWebAppBuilder

DMBProgressiveWebAppBuilder provides a secure Progressive Web App foundation for PageBuilder-based ASP.NET Core websites.

The package registers:

  • a global manifest link through DMBPageBuilder;
  • a global service-worker registration script;
  • dynamic endpoints for the web app manifest, registration script, service worker, and offline fallback page;
  • conservative service-worker behavior that only caches explicitly configured same-origin static assets.
  • optional browser push notification display and notification-click navigation in the generated service worker.

Security Model

The default service worker never caches authenticated HTML pages, API responses, non-GET requests, or cross-origin resources. Navigation requests use the network first and only fall back to the offline page when the network fails. The generated offline fallback is a self-contained HTML document with embedded CSS, brand colors, and a retry link to the configured start URL. Static assets are cached only when they are present in StaticAssetUrls. Static cache failures are best-effort: a missing or temporarily unavailable asset must not prevent service-worker activation. Push notification click targets are constrained to same-origin paths. After same-origin validation, notification clicks open the absolute target URL so browser implementations do not silently ignore relative window targets.

Basic Usage

DMBProgressiveWebAppBuilderConfiguration.LoadCommonConfig(builder);
DMBProgressiveWebAppBuilderConfiguration.Config.Options.AppName = "My App";
DMBProgressiveWebAppBuilderConfiguration.Config.Options.ShortName = "My App";

WebApplication app = builder.Build();
DMBProgressiveWebAppBuilderConfiguration.UseApp(app);

Push Notifications

DMBProgressiveWebAppBuilderOptions.PushNotificationsEnabled enables generic service-worker handling for browser push events. The generated service worker can display a notification payload and open or focus a same-origin target path when the notification is clicked.

This package does not create browser push subscriptions and does not send Web Push messages from the server. Feature modules must own subscription endpoints, VAPID key configuration, and server delivery.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.28.0 0 7/21/2026
0.27.0 0 7/21/2026
0.26.0 0 6/18/2026

Initial progressive web app builder foundation.