


Once installed, the app appears in its own window without an address bar: On Chrome for Android, users should select the Menu button in the upper-right corner, followed by Add to Home screen.
#DOWNLOAD CAPTIVE PORTAL WEB TEMPLATE INSTALL#
On iOS, visitors can install the PWA using Safari's Share button and its Add to Homescreen option. After the user selects the Add button, they receive a confirmation dialog: When using desktop Chromium-based browsers, such as Edge or Chrome, an Add button appears within the URL bar. The way this option is presented depends on the user's browser. When visiting an app created using the PWA template, users have the option of installing the app into their OS's start menu, dock, or home screen.
#DOWNLOAD CAPTIVE PORTAL WEB TEMPLATE HOW TO#
For more information, see How to select a version tag of ASP.NET Core source code (dotnet/AspNetCore.Docs #26205).įrom the source script tag. To select a tag for a specific release, use the Switch branches or tags dropdown list. NET reference source usually load the repository's default branch, which represents the current development for the next release of. Select the release that you're working with from the Switch branches or tags dropdown list that applies to your app.īlazor WebAssembly project template wwwroot folder (dotnet/aspnetcore GitHub repository main branch)ĭocumentation links to. Navigate to the ASP.NET Core GitHub repository at the following URL, which links to main branch reference source and assets. The following example creates the app for ASP.NET Core version 3.1: dotnet new blazorwasm -o MyBlazorPwa -pwa -f netcoreapp3.1 If you aren't converting an app for the latest release, pass the -f|-framework option. To obtain static assets, use one of the following approaches:Ĭreate a separate, new PWA project with the dotnet new command in a command shell: dotnet new blazorwasm -o MyBlazorPwa -pwa Īdd the following ServiceWorker item to an ItemGroup: Convert an existing Blazor WebAssembly app into a PWAĬonvert an existing Blazor WebAssembly app into a PWA following the guidance in this section.Īdd the following ServiceWorkerAssetsManifest property to a PropertyGroup. The PWA scenario is independent of the hosting model. Optionally, PWA can be configured for an app created from the ASP.NET Core Hosted template. In the preceding command, the -o|-output option creates a new folder for the app named MyBlazorPwa. Use the following command to create a PWA project in a command shell with the -pwa switch: dotnet new blazorwasm -o MyBlazorPwa -pwa When creating a new Blazor WebAssembly App, select the Progressive Web Application checkbox.
