{"id":13571580,"url":"https://github.com/jsakamoto/BlazorMinimumTemplates","last_synced_at":"2025-04-04T08:31:38.750Z","repository":{"id":66230859,"uuid":"141445740","full_name":"jsakamoto/BlazorMinimumTemplates","owner":"jsakamoto","description":"Templates for ASP.NET Core Blazor without any js and css libraries.","archived":false,"fork":false,"pushed_at":"2025-03-18T23:48:09.000Z","size":10390,"stargazers_count":49,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T00:30:15.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsakamoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2018-07-18T14:25:42.000Z","updated_at":"2025-03-11T23:08:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d3441fe-2434-4a74-a547-0fe888877139","html_url":"https://github.com/jsakamoto/BlazorMinimumTemplates","commit_stats":null,"previous_names":["jsakamoto/blazorminimumtemplate"],"tags_count":87,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FBlazorMinimumTemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FBlazorMinimumTemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FBlazorMinimumTemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FBlazorMinimumTemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsakamoto","download_url":"https://codeload.github.com/jsakamoto/BlazorMinimumTemplates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247147319,"owners_count":20891672,"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-01T14:01:03.491Z","updated_at":"2025-04-04T08:31:33.734Z","avatar_url":"https://github.com/jsakamoto.png","language":"HTML","funding_links":[],"categories":["Tooling","HTML"],"sub_categories":["Others"],"readme":"# Blazor Minimum Project Templates\n\n[![NuGet Package](https://img.shields.io/nuget/v/Toolbelt.AspNetCore.Blazor.Minimum.Templates.svg)](https://www.nuget.org/packages/Toolbelt.AspNetCore.Blazor.Minimum.Templates/) [![Discord](https://img.shields.io/discord/798312431893348414?style=flat\u0026logo=discord\u0026logoColor=white\u0026label=Blazor%20Community\u0026labelColor=5865f2\u0026color=gray)](https://discord.com/channels/798312431893348414/1202165955900473375)\n\n## Summary\n\nThis is a project templates package for **\"Blazor Server\"**, **\"Blazor WebAssembly\"**, and **Full Stack \"Blazor Web\"** application without JavaScript and CSS libraries.\n\n\u003e Blazor is a framework for building **full stack web apps** by **C#**, without writing a line of JavaScript. [Learn More...](https://blazor.net/)\n\nThe Blazor application project created by these templates contains only the minimum necessary files, like this:\n\n![fig.1](https://raw.githubusercontent.com/jsakamoto/BlazorMinimumTemplates/master/.assets/rev.2/fig-001.png)\n\nWhen you run this project, you will see the following page on a web browser.\n\n![fig.2](https://raw.githubusercontent.com/jsakamoto/BlazorMinimumTemplates/master/.assets/rev.2/fig-002.png)\n\n## System requirement\n\n- [.NET SDK](https://dotnet.microsoft.com/download/dotnet/) ver.6, 7, 8, or later\n\n## How to install\n\nIf you use .NET SDK **ver.7 or later**, please enter the following command to install the project templates.\n\n```shell\n\u003e dotnet new install Toolbelt.AspNetCore.Blazor.Minimum.Templates\n```\n\nIf you use .NET SDK **ver.6**, please enter the following command to install the project templates.\n\n```shell\n\u003e dotnet new -i Toolbelt.AspNetCore.Blazor.Minimum.Templates\n```\n\n## How to use\n\n### .NET CLI\n\nIf you want to create a new Blazor **Server app** project, type the `dotnet new` command with the short name of the template \"**blazorservermin**\".\n\n```shell\n\u003e dotnet new blazorservermin\n```\n\nIf you want to create a new Blazor **WebAssembly app** project which standalone edition, type the `dotnet new` command with the short name of the template \"**blazorwasmmin**\".\n\n```shell\n\u003e dotnet new blazorwasmmin\n```\n\nIf you want to create a new Blazor **Web app** project that is a new model since .NET 8, type the `dotnet new` command with the short name of the template \"**blazormin**\".\n\n```shell\n\u003e dotnet new blazormin\n```\n\nThese commands create a new project in the current directory, and the project name will be the same as the current directory name.\n\nSee also: [\"dotnet new command - .NET Core CLI\" | Microsoft Docs](https://docs.microsoft.com/dotnet/core/tools/dotnet-new)\n\nYou can see all the options for these project templates with the `--help` option, like below:\n\n```shell\n\u003e dotnet new blazorwasmmin --help\n```\n\noption | description\n-------|-----------------\n`--no-restore`    | If specified, skips the automatic restore of the project on create.\n`-f`, `--framework` {`net6.0`, `net7.0`, or `net8.0`} |  The target framework for the project.\n`--no-https`      | Whether to turn off HTTPS.\n`-ho`, `--hosted` | **[Blazor WebAssembly Only]** If specified, includes an ASP.NET Core host for the Blazor WebAssembly app.\n`-r`, `--routing` | If specified, enables routing for the Blazor app.\n`--layout` | If specified, enables shared layout for the Blazor app.\n`-int`, `--interactivity` {`none`, `server`, `webassembly`, or `auto`}    | **[Blazor Web app only]** Chooses which interactive render mode to use for interactive components. (The default value is `none`) \n`-s`, `--solution` | **[.NET CLI only]** If specified, adds a solution file for the standalone Blazor WebAssembly or Blazor Server app.\n\nFor example, if you want an ASP.NET Core hosted Blazor WebAssembly app project, please specify the `--hosted` switch.\n\n```shell\n\u003e dotnet new blazorwasmmin --hosted\n```\n\n### Visual Studio\n\nOnce you've installed this project template with the `dotnet new install ...` command, you will see these project templates in your Visual Studio's \"Create new project\" dialog.\n\n![fig.3](https://raw.githubusercontent.com/jsakamoto/BlazorMinimumTemplates/master/.assets/rev.3/fig-003.png)\n\nWhen you proceed with creating a new project with the project template \"Blazor Server App (minimal)\", \"Blazor WebAssembly App (minimal)\", or \"Blazor Web App (minimal)\", you can see the \"Additional Information\" dialog, and you can configure some options for the Blazor app you are creating.\n\n![fig.4](https://raw.githubusercontent.com/jsakamoto/BlazorMinimumTemplates/master/.assets/rev.3/fig-004.png)\n\n## What is the difference between the empty template built-in .NET SDK?\n\n- .NET 6.0 support\n- Rich initial loading page indicator for Blazor WebAssembly. (The normal project template of Blazor WebAssembly on .NET SDK has an excellent progress indication loading page. but the empty project template only shows \"Loading...\" static text at the top left corner of the page.)\n- No routing by default. (You can also enable routing support explicitly)\n- No shared layout by default. (You can also enable shared layout explicitly)\n\nIn short, this \"minimal\" template will generate a **much simpler** project structure and files (by default, it doesn't even have routing code and shared layout code) than the Blazor empty template.\n\n## License\n\n- [The Unlicense](https://github.com/jsakamoto/BlazorMinimumTemplates/blob/master/LICENSE)\n- The third party notice is [here.](https://github.com/jsakamoto/BlazorMinimumTemplates/blob/master/THIRD-PARTY-NOTICES.txt)\n- \"FreeConverter.com\" (https://www.freeconvert.com/png-to-svg) was used to vectorize Blazor logo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsakamoto%2FBlazorMinimumTemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsakamoto%2FBlazorMinimumTemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsakamoto%2FBlazorMinimumTemplates/lists"}