{"id":17621453,"url":"https://github.com/sql-mistermagoo/blazor.pwa.msbuild","last_synced_at":"2025-04-19T12:58:24.184Z","repository":{"id":91797662,"uuid":"201225803","full_name":"SQL-MisterMagoo/Blazor.PWA.MSBuild","owner":"SQL-MisterMagoo","description":"An MSBuild package which adds simple PWA functionality to Blazor client-side Apps","archived":false,"fork":false,"pushed_at":"2020-06-04T21:31:20.000Z","size":181,"stargazers_count":96,"open_issues_count":9,"forks_count":10,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-13T22:18:33.296Z","etag":null,"topics":["blazor","client","csharp","msbuild","package","pwa","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SQL-MisterMagoo.png","metadata":{"files":{"readme":"README - nuget.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-08T09:31:33.000Z","updated_at":"2024-01-12T00:54:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"169aec81-d81e-48ec-bc7b-c2e1a1b37060","html_url":"https://github.com/SQL-MisterMagoo/Blazor.PWA.MSBuild","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazor.PWA.MSBuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazor.PWA.MSBuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazor.PWA.MSBuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazor.PWA.MSBuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SQL-MisterMagoo","download_url":"https://codeload.github.com/SQL-MisterMagoo/Blazor.PWA.MSBuild/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249699521,"owners_count":21312420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","client","csharp","msbuild","package","pwa","web"],"created_at":"2024-10-22T20:43:30.973Z","updated_at":"2025-04-19T12:58:24.165Z","avatar_url":"https://github.com/SQL-MisterMagoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Blazor PWA Builder - MSBuild\n\nThe easiest way to turn your Server Side And Client Side Blazor projects into Progressive Web Apps (PWA).\n\nThis project, when added to your build process, will generate the required files to enable basic PWA abilities for your project.\n\nIt generates a manifest.json, a Service Worker with pre-caching of all required files (Blazor WebAssembly only) and an installer for the Service Worker.\n\nIt currently includes a simple banner, by default, to notify the user that your application can be installed, and a simple alert to notify users when your application has been updated (CSB Only).\n\nThis is now an official release - I am looking for feedback/issues/requests.\n\n## Installation\n\nInstall the nuget BlazorPWA.MsBuild\n\n#### Package Manager:\n`Install-Package BlazorPWA.MSBuild -Version 1.0.2`\n\n#### .NET Cli:\n`dotnet add package BlazorPWA.MSBuild --version 1.0.2`\n\n#### Package Reference\n`\u003cPackageReference Include=\"BlazorPWA.MSBuild\" Version=\"1.0.2\"/\u003e`\n\n## Configuration\n\nRequired configuration: none *.\n\n**Really! try it!*\n\nThis PWA builder is constructed using MSBuild targets, which get installed in your .nuget cache.\n\nYou are free to inspect those targets and customise any part of the build by adding Properties to your csproj, or to a **.props** file in the source tree.\n\nFor example, by default, the PWA builder will only generate the PWA files once, which means, should you want to, you can add it to your project, build once - you will have the required files for a PWA and will be free to modify them to suit.\n\nShould you want to re-generate the PWA files every build, you can add this Property to your **csproj**\n\n**`\u003cServiceWorkerForce\u003etrue\u003c/ServiceWorkerForce\u003e`**\n\nWhen you want to publish an update to your app, you may need to supply a new browser cache version - if you don't change anything in the Service Worker the end user will not use your new code!\n\n*Note: PWAs update when they detect a change in the Service Worker code - this cache version number is used in the Service Worker, so updating the cache version number will trigger an update of the PWA for the end user. It's also important as the cache is where your code is stored - if you don't update the cache version, it will not refresh with your new code*\n\n**`\u003cServiceWorkerCacheVersion\u003e2\u003c/ServiceWorkerCacheVersion\u003e`**\n\nThe web manifest has properties for the application name, which are taken, by default, from your project and solution names, but you can override them\n\n**`\u003cManifestShortName\u003eMy Project\u003c/ManifestShortName\u003e`**\n\n**`\u003cManifestLongName\u003eMy Really Great Project\u003c/ManifestLongName\u003e`**\n\nThere are dozens of Properties in the *targets* files supplied by this package - you *could* customise them all, but you probably don't need to, so proceed with caution.\n\nPlease see the full README on GitHub for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Fblazor.pwa.msbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsql-mistermagoo%2Fblazor.pwa.msbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Fblazor.pwa.msbuild/lists"}