title | page_title | description | slug | position |
---|---|---|---|---|
Create New Project |
Create New Project - Visual Studio Code Integration |
Learn how to create a new Telerik UI for Blazor project with our Visual Studio Code Templates. |
getting-started-vs-code-integration-new-project |
2 |
This article demonstrates how to use the Telerik Extension for Visual Studio Code to create a new project that is pre-configured for the Progress® Telerik® UI for Blazor components.
To use the Telerik UI for Blazor Template Wizard, install the Telerik UI for Blazor Visual Studio Code Extension. @template
To create a Telerik-enabled Blazor project:
-
Press
Ctrl
+Shift
+P
in Windows/Linux orCmd
+Shift
+P
on Mac to open the VS Code extension launcher. -
Type/Select
Telerik UI for Blazor Template Wizard: Launch
and pressEnter
to launch the extension.
The Create New Project wizard provides two options to start you project:
-
Start from Blank Project - allows you to create a blank project that is pre-configured for the Progress® Telerik® UI for Blazor components. You can select and add sample pages to get started (a Grid with CRUD operations form a service, a Form, Charts).
-
Start from a Template - the wizard provides an Admin Dashboard Template - a fully functional sample app that showcases some of the most popular Telerik UI for Blazor components, such as Grid, TileLayout, Form, Charts, Gauges, etc. in a real world scenario.
caption The wizard allows you to configure the following options:
- Location and name for your app.
- Your Telerik license (trial or commercial, depending on what you have).
- A WebAssembly or Server-Side Blazor app.
- The .NET version you want to use.
- The Telerik UI for Blazor version.
- Sample pages that you can add to get started (available for
Start from Blank Project
option). - The theme you want to apply - the main window provides a list of the [built-in (base) themes]({%slug general-information/themes%}) (Default, Bootstrap and Material). The
See All Swatches
button opens a separate menu with a list of [color swatches]({%slug themes-swatches%}) under the corresponding base theme.
caption Create New Project wizard
caption See All Swatches menu
Open the project, and then run it:
-
Open the Terminal and navigate to the
Server
project folder. For a Server-side project, this is the folder with the project name. For a WASM project, this is theServer
folder. -
Execute
dotnet run
and navigate your browser to the link you see in the console output.
You now have a Blazor SPA app running!