{"id":13806168,"url":"https://github.com/albx/BlazorSwa.Template","last_synced_at":"2025-05-13T21:32:32.079Z","repository":{"id":38841195,"uuid":"477636998","full_name":"albx/BlazorSwa.Template","owner":"albx","description":"Template for the .NET CLI to create a Blazor project for Azure Static Web Apps","archived":false,"fork":false,"pushed_at":"2024-05-20T04:43:33.000Z","size":213,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2024-05-20T05:37:25.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/albx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2022-04-04T09:43:44.000Z","updated_at":"2024-06-19T00:25:10.545Z","dependencies_parsed_at":"2024-05-20T05:44:39.389Z","dependency_job_id":null,"html_url":"https://github.com/albx/BlazorSwa.Template","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albx%2FBlazorSwa.Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albx%2FBlazorSwa.Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albx%2FBlazorSwa.Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albx%2FBlazorSwa.Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albx","download_url":"https://codeload.github.com/albx/BlazorSwa.Template/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225260381,"owners_count":17446088,"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":[],"created_at":"2024-08-04T01:01:08.482Z","updated_at":"2024-11-18T22:31:27.039Z","avatar_url":"https://github.com/albx.png","language":"HTML","funding_links":[],"categories":["Templates"],"sub_categories":["Get started"],"readme":"# BlazorSwa.Template\nA project template for creating a Blazor WebAssembly app and, optionally, an Azure Function api which will be hosted on Azure Static Web Apps.\n\n## Requirements\n.NET 8 SDK with Azure workload and Azure Functions v4 runtime must be installed.\n\nIn order to run locally your project, you can install the **Azure Static Web Apps CLI** following the instructions in the [official documentation](https://azure.github.io/static-web-apps-cli/docs/use/install).\n\n## Installation\nYou can install the package from [NuGet](https://www.nuget.org/packages/BlazorSwa.Template/) using this command from the .NET CLI:\n```\ndotnet new --install BlazorSwa.Template\n```\n\n## Usage\nExecute the following command from the .NET CLI:\n```\ndotnet new blazorswa -n \u003cYourProjectName\u003e\n```\nto create a project containing a Blazor WebAssembly client and a simple Azure Function project with isolated runtime.\n\nIf you prefer Visual Studio to create the project, search *Blazor static web app* in the *Search for templates* bar and follow the wizard.\n\n### Options\nThe following option is available:\n- **--include-api**: *(bool)* specifies whether add the azure function project (isolated runtime). The default value is **false**.\n\n### Examples\nTo create a Blazor WebAssembly project with an Azure Function project with isolated runtime, execute the following command from the .NET CLI:\n```\ndotnet new blazorswa --include-api -n \u003cYourProjectName\u003e\n```\n\n### Some tips\n\nTo create a Static Web App resource on Azure, please follow the Microsoft documentation at this link: [https://docs.microsoft.com/en-us/azure/static-web-apps/get-started-portal?tabs=blazor\u0026pivots=github#create-a-static-web-app](https://docs.microsoft.com/en-us/azure/static-web-apps/get-started-portal?tabs=blazor\u0026pivots=github#create-a-static-web-app).\n\n## Contributing\n\nContributions are always welcome!\n\nIf you want to submit any issues or new features, please [follow these few and simple guidelines](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbx%2FBlazorSwa.Template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbx%2FBlazorSwa.Template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbx%2FBlazorSwa.Template/lists"}