Skip to main content
Any Framework

Templates for ASP.NET Core Blazor without any js and css libraries.

Published
Aug 11, 2021
5y ago
Total Downloads
138.3K
138,315

Install

dotnet add package Toolbelt.AspNetCore.Blazor.Minimum.Templates --version 6.0.0-preview.7

No framework information available.

README

Blazor WebAssembly App (client-side) Minimum Project Templates NuGet Package

Summary

This is project templates package for ASP.NET Core "Blazor WebAssembly App" (a.k.a "client-side Blazor") without JavaScript and CSS libraries, designed for dotnet CLI.

Blazor WebAssembly (client-side Blazor) is a .NET web framework using C# and HTML that runs in the browser. Learn More...

The Blazor WebAssembly application project, which is created by this template, contains only the minimum necessary files, like this.

fig.1

When you run this project, the following page will be displayed in a web browser.

fig.2

System requirement

How to install

> dotnet new -i Toolbelt.AspNetCore.Blazor.Minimum.Templates::6.0.0-preview.7

How to use

If you want to create a new Blazor WebAssembly application project which standalone edition, type dotnet new command with a short name of the template "blazorwasmmin".

> dotnet new blazorwasmmin

If you want a ASP.NET Core hosted edition, use a short name of the template "blazorwasmhostedmin".

> dotnet new blazorwasmhostedmin

These commands create a new project in current directory, and the project name is same as the current directory name.

See also: "dotnet new command - .NET Core CLI" | Microsoft Docs

Visual Studio Code support

The project files contain "build" & "launch" task configuration for Visual Studio Code.

Therefore, enter the "dotnet new blazorwasmmin" command on the terminal, and after you open the workspace by Visual Studio Code, you can execute "Start Without Debugging" (Ctrl + F5) task immediately.

License

The Unlicense

Changes from Previous Version

No structural changes between v6.0.0-preview.5 and v6.0.0-preview.7.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.