Syncfusion.Blazor.Toolkit.Templates 1.0.1

Prefix Reserved
dotnet new install Syncfusion.Blazor.Toolkit.Templates@1.0.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

Blazor_Toolkit_Banner

Syncfusion® Blazor Toolkit Project Templates

This article describes the project templates available for building Blazor applications with the Syncfusion® Blazor Toolkit. The templates are pre-configured with Syncfusion components, theming, and project structure so you can start building applications immediately.


Prerequisites

  • .NET 10 SDK
  • Visual Studio 2026, JetBrains Rider, or Visual Studio Code

Verify the .NET SDK installation:

dotnet --version

Getting Started

Install the templates

dotnet new install Syncfusion.Blazor.Toolkit.Templates

Update the templates

dotnet new update

dotnet new update updates all installed template packages, not just Syncfusion.Blazor.Toolkit.Templates.

Preview available updates without installing them:

dotnet new update --check-only

Reinstall or install a specific version

dotnet new uninstall Syncfusion.Blazor.Toolkit.Templates
dotnet new install Syncfusion.Blazor.Toolkit.Templates

Install a specific version:

dotnet new install Syncfusion.Blazor.Toolkit.Templates::<version>

Available templates

Template Description
blazortoolkitweb Blazor Web App with server-side rendering and optional interactive rendering modes
blazortoolkitwasm Standalone Blazor WebAssembly application with optional Progressive Web App (PWA) support

Blazor Web App

Creates a project with Server interactivity (default).

dotnet new blazortoolkitweb -o MyApp

Create an Auto interactive app

Interactive components automatically switch between server and client rendering when appropriate.

dotnet new blazortoolkitweb -o MyApp -int Auto

Create an Auto interactive app with global interactivity

Applies interactive rendering at the application root.

dotnet new blazortoolkitweb -o MyApp -int Auto -ai

Interactive render mode

  • Interactive server-side rendering (interactive SSR) is enabled with the Server option.
  • To only enable interactivity with client-side rendering (CSR), use the WebAssembly option.
  • To enable both interactive rendering modes and the ability to automatically switch between them at runtime, use the Auto (Server and WebAssembly) render mode option.
  • If interactivity is set to None, the generated app has no interactivity. The app is only configured for static server-side rendering.
Mode Description
Auto Automatically chooses the best render mode
Server Interactive components run on the server
WebAssembly Interactive components run in the browser

Interactivity location

  • Per page/component (default): Interactivity is set up per page or per component.
  • Global: Sets up interactivity globally for the entire app.

Interactivity location can only be set if the interactive render mode isn't None.


Blazor WebAssembly standalone app

Create a standalone Blazor WebAssembly app

dotnet new blazortoolkitwasm -o MyApp

Create a standalone Blazor WebAssembly PWA

Use the --pwa option to generate a standalone Blazor WebAssembly app with Progressive Web App support, including a service worker and web manifest.

dotnet new blazortoolkitwasm -o MyApp --pwa

Run the app

Important

When executing a Blazor Web App, run the app from the server project, which is the project with a name that doesn't end in .Client.

In a command shell opened to the project's root folder, run:

dotnet watch

The default browser is launched at https://localhost:{PORT}. To use the https launch profile, pass -lp https to dotnet watch or reorder the profiles in Properties/launchSettings.json.

To stop the app, close the browser window and press Ctrl+C in the command shell.


Additional template options

Option Values Default Description
-int, --interactivity Auto, None, Server, WebAssembly Server Selects the interactive render mode.
-ai, --all-interactive true / false false Enables interactivity globally at the application root.
--no-https true / false false Disables HTTPS for app launch.
--exclude-launch-settings true / false false Excludes Properties/launchSettings.json.
--no-restore true / false false Skips the automatic package restore after project creation.
--use-program-main true / false false Generates an explicit Program.Main entry point.

For the complete list of supported options:

dotnet new blazortoolkitweb --help
dotnet new blazortoolkitwasm --help

Visual Studio and JetBrains Rider support

After installation, the templates are available from the Create a New Project dialog in Visual Studio and the New Solution dialog in JetBrains Rider. The .NET CLI examples shown above are the recommended reference for advanced options and configuration combinations.


Additional resources


Feedback

Issues, feature requests, and contributions are welcome through the project repository.

  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 226 8/12/2026
1.0.0 91 8/11/2026