Dimodi.Telerik.Blazor.Templates 5.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install Dimodi.Telerik.Blazor.Templates::5.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Telerik Blazor Project and Item Templates

This NuGet package provides Visual Studio project and item templates for Telerik Blazor apps and component scaffolders with some convenient extras.

Table of Contents

Templates

  • .NET 8-9 Blazor Web App with global interactive Server render mode
  • .NET 8-9 Blazor Web App with global interactive WebAssembly or Auto render mode
  • .NET 8-9 Blazor WebAssembly Standalone App
  • .NET 6-7 Blazor Server App
  • .NET 6-7 Blazor WebAssembly App (ASP.NET Core hosted)
  • Grid with optional CRUD operations, row selection, grouping, and two data binding mechanisms
  • TreeView with optional selection, checkboxes, and flat or hierarchical data structure

Install

Install From nuget.org

  1. Close Visual Studio.
  2. Open your Terminal or Shell app.
  3. Execute the dotnet new install command:
    dotnet new install Dimodi.Telerik.Blazor.Templates
    

Install From GitHub

  1. Close Visual Studio.
  2. Download the NuGet package from the latest release to some folder.
  3. Open your Terminal or Shell app and go to the folder from the previous step.
  4. Execute the dotnet new install command:
    dotnet new install Dimodi.Telerik.Blazor.Templates.*.nupkg
    

Use with Visual Studio

On Windows, the new project templates will appear in the C#, Web and Blazor categories in the Create New Project wizard. Make sure to select "All platforms" in the respective dropdown.

On Mac, the new project templates will appear in the Other > Custom category. Visual Studio for Mac is unable to run .NET 8 Blazor Web Apps with WebAssembly or Auto render mode if .NET 9 is installed. In this case, you can edit the app code in Visual Studio, but run the app through the .NET CLI. Or, edit and run the app through VS Code.

When creating a WebAssembly app, make sure to select the server project as a startup project before running.

Use with the .NET CLI

To see all available project and item templates, execute the dotnet new list command with the --author option:

dotnet new list --author="Dimo Dimov"

The project templates use similar short names to the respective Microsoft counterparts, but with a dimodi prefix and sometimes a suffix, for example:

Template Descrption Microsoft Template Short Name Dimodi Template Short Name
.NET 8-9 Blazor Web App with Server render mode blazor dimodi-blazor-server
.NET 8-9 Blazor Web App with WebAssembly or Auto render mode blazor dimodi-blazor-wasmauto
.NET 8-9 Blazor WebAssembly Standalone App blazorwasm dimodi-blazorwasm
.NET 6-7 Blazor Server App blazorserver dimodi-blazorserver
.NET 6-7 Blazor WebAssembly App (ASP.NET Core hosted) blazorwasm dimodi-blazorwasm-hosted

For help on a specific project or item template, execute the dotnet new command with the --help option, for example:

dotnet new dimodi-grid --help

Create Projects

  1. Open Terminal and go to the desired parent folder of your future app.
  2. Execute the dotnet new command with the short name of the template and the app name, for example:
    dotnet new dimodi-blazor-server -o MyNewAppName
    

When creating a WebAssembly app, make sure to select the server project as a startup project before running.

Interactive Render Mode

The Blazor Web App (Server) template (dimodi-blazor-server) sets global Server interactivity location.

The Blazor Web App (WebAssembly / Auto) template (dimodi-blazor-wasmauto) sets global WebAssembly or Auto interactivity. To create a project with Auto interactivity, set rendermode to Auto in the dotnet new command:

dotnet new dimodi-blazor-wasmauto -o MyNewAppName --rendermode Auto

Create Items

  1. Open Terminal and go to a folder inside your existing app, for example Pages or Components.
  2. Execute the dotnet new command with the short name of the template and the file name, for example:
    dotnet new dimodi-grid -n MyNewGridPаge
    
  3. The above command will produce a MyNewGridPаge.razor file inside the current folder.

Extras

The item templates provide declarations of Telerik Blazor components together with dummy data, which includes different data types.

The project templates are similar to the default .NET SDK Blazor project templates. The differences are:

* The options to change the max file upload size and the max SignalR message size work in Visual Studio on Windows and through the .NET CLI. They don't appear in VS Code and in Visual Studio for Mac. In these cases, edit Program.cs after creating the app.

Update

Update From nuget.org

Execute the dotnet new update command:

dotnet new update Dimodi.Telerik.Blazor.Templates

Update from GitHub

  1. Uninstall the package.
  2. Repeat the GitHub installation steps.

Uninstall

To remove the currently installed package, execute the dotnet new uninstall command:

dotnet new uninstall Dimodi.Telerik.Blazor.Templates

Create Your Own Templates

If you wish to experiment with your own project or item templates, then start from here:

Prepare for reading incomplete and unofficial documentation, and a lot of trial and error.

License

Telerik UI for Blazor is a commercial component library with its own license agreement.

The project and item templates are subject to MIT License.

  • .NETStandard 2.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
6.3.0 248 9/17/2025
6.2.1 202 8/29/2025
6.2.0 216 8/26/2025
6.1.0 175 8/13/2025
6.0.0 148 7/28/2025
5.4.0 251 7/1/2025
5.3.1 156 6/27/2025
5.3.0 129 6/6/2025
5.2.1 188 5/21/2025
5.1.0 187 4/30/2025
5.0.0 228 3/19/2025
4.5.0 227 3/11/2025
4.4.1 199 2/12/2025
4.4.0 234 12/18/2024
4.3.0 171 12/14/2024
4.2.0 221 12/6/2024
4.1.0 184 11/16/2024
4.0.0 156 11/15/2024
3.1.0 155 11/13/2024
3.0.1 170 10/26/2024

NEW
* Added a default app name for the New Project wizard in VS Code C# Dev Kit.
* Added Telerik UI for Blazor version selector, dark mode, and random ports to the .NET 6-7 project templates.
* Removed the .sln solution file from the single-project templates, similar to how the standard Microsoft project templates work. Visual Studio and VS Code C# Dev Kit create a solution file automatically.

FIXED
* Prevented duplicate solution file generation when creating an app with VS Code C# Dev Kit.

BREAKING CHANGE
* Renamed the framework version short alias from -F to -f when using the .NET CLI.