A Blazor library that provides an "Update Now" UI and feature for Progressive Web Apps when a new version is available.
Toolbelt.Blazor.PWA.Updater is a library for Blazor Progressive Web Apps that provides a user interface to notify users when a new version of the app is available and allows them to trigger an immediate update. It solves the standard PWA behavior where service worker updates only complete after the user navigates away, enabling faster deployment of updates. The library includes a customizable UI component and a service for manual integration.
Blazor developers building Progressive Web Apps who need to ensure users can quickly update to the latest version without leaving the app. It is particularly useful for teams deploying frequent updates to their Blazor PWAs.
Developers choose this library because it provides a ready-made, customizable solution for a common PWA pain point, saving development time. Its flexibility allows integration as a pre-built component or as a service for custom UI, and it includes features like environment control and crawler detection.
Provide "Update Now" UI and feature to your Blazor PWA that appears when the next version of one is available.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a pre-built, customizable notification bar with an 'UPDATE NOW' button, saving development time compared to building from scratch, as shown in the README's GIF animation and configuration options.
Offers both a drop-in component and a service interface (IPWAUpdaterService), allowing developers to choose between quick setup or custom UI implementation, detailed in the 'Implement UI from scratch' section.
Configurable to only activate in specific environments like Production via the EnvironmentsForWork parameter, preventing update notifications from disrupting development workflows.
Includes bot detection to skip service worker registration for search engines, reducing false errors in monitoring tools, with customizable regex patterns as explained in the README.
Relies on Blazor's CSS isolation by default, which isn't enabled in all project templates; developers must manually include CSS files if missing, adding setup complexity as noted in the 'NOTICE' section.
Requires modifications to service-worker.js, index.html, and program.cs files, which can be error-prone and demands a good understanding of PWA concepts, increasing initial implementation time.
Specifically designed for Blazor PWAs on .NET 8 or later, making it unsuitable for other web frameworks or older .NET versions, limiting its use in diverse technology stacks.