Dimodi.Telerik.Blazor.Templates
4.0.0
See the version list below for details.
dotnet new install Dimodi.Telerik.Blazor.Templates::4.0.0
Telerik Blazor Project and Item Templates
This repository provides Visual Studio templates for Telerik Blazor apps and component scaffolders with some convenient extras.
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 row selection, grouping, and two data binding mechanisms
- Editable Grid with CRUD operations
Install
Install From nuget.org
- Close Visual Studio.
- Open your Terminal or Shell app.
- Execute the
dotnet new install
command:dotnet new install Dimodi.Telerik.Blazor.Templates
Install From GitHub
- Close Visual Studio.
- Download the NuGet package from the latest release to some folder.
- Open your Terminal or Shell app and go to the folder from the previous step.
- 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.
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 Server App | 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-gridedit --help
Create Projects
- Open Terminal and go to the desired parent folder of your future app.
- 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
- Open Terminal and go to a folder inside your existing app, for example
Pages
orComponents
. - 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
- 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 apps reference the latest Telerik UI for Blazor version. The WebAssembly apps reference the latest minor .NET version.
- The Telerik UI for Blazor NuGet package, namespaces, service, and static assets are added, according to best practices.
- You can configure some settings related to the Telerik UI for Blazor components during app creation (see the default values in the brackets):
- Theme (
Default
) - Icon type (SVG icons or Font icons) (SVG)
- CDN support (disabled)
- RTL support (disabled)
- Theme (
- The Telerik CSS and JS files are loaded with a query string cache buster to prevent browser caching across version upgrades. This feature is missing from the WebAssembly Standalone App template due to dynamic content usage restrictions in
index.html
. Program.cs
contains commented code to increase the maximum file upload size.Program.cs
in server apps contains commented code to increase the maximum SignalR message size.- .NET 8+ apps use the
https
launch profile by default. - The
SurveyPrompt
Razor component is removed. - The
<button>
and<table>
HTML elements in the default sample pages are replaced with Telerik Button and Grid.
Update
Update From nuget.org
Execute the dotnet new update
command:
dotnet new update Dimodi.Telerik.Blazor.Templates
Update from GitHub
- Remove the currently installed package:
dotnet new uninstall Dimodi.Telerik.Blazor.Templates
- 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
License
Telerik UI for Blazor is a commercial component library with its own license agreement.
The project 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 | 256 | 9/17/2025 |
6.2.1 | 207 | 8/29/2025 |
6.2.0 | 222 | 8/26/2025 |
6.1.0 | 180 | 8/13/2025 |
6.0.0 | 153 | 7/28/2025 |
5.4.0 | 256 | 7/1/2025 |
5.3.1 | 161 | 6/27/2025 |
5.3.0 | 134 | 6/6/2025 |
5.2.1 | 193 | 5/21/2025 |
5.1.0 | 193 | 4/30/2025 |
5.0.0 | 233 | 3/19/2025 |
4.5.0 | 232 | 3/11/2025 |
4.4.1 | 204 | 2/12/2025 |
4.4.0 | 239 | 12/18/2024 |
4.3.0 | 176 | 12/14/2024 |
4.2.0 | 226 | 12/6/2024 |
4.1.0 | 189 | 11/16/2024 |
4.0.0 | 161 | 11/15/2024 |
3.1.0 | 160 | 11/13/2024 |
3.0.1 | 175 | 10/26/2024 |
New:
* Added a .NET 8-9 WebAssembly Standalone App project template. The CLI short name is dimodi-blazorwasm.
Breaking Changes:
* Switched the default .NET version of all .NET 8-9 project templates to .NET 9.
* Changed the CLI short name of the legacy .NET 6-7 WebAssembly App template from dimodi-blazorwasm to dimodi-blazorwasm-hosted.