How can I help you?
Create a Syncfusion® Blazor application
18 Apr 20265 minutes to read
The Syncfusion® Blazor Template Studio for Visual Studio Code scaffolds a Blazor application preconfigured with Syncfusion® NuGet packages, namespaces, themes, and sample component render code. Use the guided wizard to quickly create an application tailored to your platform and selected controls.
NOTE
Blazor project templates from version
v17.4.0.39and later are supported by the Syncfusion® Visual Studio Code project template.
Use the following steps to create Syncfusion® Blazor applications in Visual Studio Code:
-
Open the Command Palette (
Ctrl+Shift+P) and search for “Syncfusion” to list available commands.
-
Choose Syncfusion Blazor Template Studio: Launch and provide the project name and path in the wizard.

-
On the Project type tab, select the application type that matches your installed .NET SDK.
Supported .NET SDKs and Syncfusion® application types:
.NET SDK version Application type .NET 10.0, 9.0, 8.0 Syncfusion Blazor Web App .NET 10.0, 9.0, 8.0 Syncfusion Blazor WebAssembly App In the Blazor Web App type you can choose interactivity (Server, WebAssembly, Auto) and interactivity location (global or per page/component).

For WebAssembly projects, you can opt into Progressive Web Application (PWA) support.

-
On the Controls tab, pick the Syncfusion® components to include in the project by selecting their tiles.

NOTE
Select at least one control to enable the Features and Configuration tabs.
-
On the Features tab, choose per-control features you want included in the scaffolded pages.

-
On the Configuration tab, set .NET target version, theme, HTTPS, localization, authentication type, and other app-specific options.
Authentication options vary by application type:
Application type Authentication Blazor Web App None, Individual Accounts Blazor WebAssembly App None, Individual Accounts, Microsoft Identity Platform Configure interactivity options for Blazor Web App and PWA settings for WebAssembly as needed.


Use the Project details panel to review selections, remove controls, or change the app configuration before creating the project.

-
Click Create. The Template Studio generates the project with the selected Syncfusion® NuGet packages, theme references, namespaces, and component render code.
-
Run the project (F5 or Run > Start Debugging) to view the included Syncfusion® components.

What Template Studio configures for you
-
NuGet: Adds the
Syncfusion.Blazorpackage (and individual packages when applicable).
-
Theme: Adds the chosen theme reference to the appropriate location (
~/Components/App.razorfor Blazor Web App, orwwwroot/index.htmlfor WebAssembly projects).
-
Namespaces: Inserts Syncfusion® namespaces into
_imports.razor.
-
Component render code: Adds sample usage (Calendar, Button, DataGrid) into the Pages folder (Index/Counter/FetchData).

If you installed the trial setup or NuGet packages from nuget.org you must register the Syncfusion® license key to your application since Syncfusion® introduced the licensing system from 2018 Volume 2 (v16.2.0.41) Essential Studio® release. Navigate to the help topic to generate and register the Syncfusion® license key to your application. Refer to this UG topic for understanding the licensing details in Essential Studio® for Blazor.