---
layout: post
title: Create a Blazor Application Using VS Code Extension | Syncfusion®
description: Learn how to create a Blazor application using the Blazor extension for Visual Studio Code and much more details.
platform: Blazor
control: Common
documentation: ug
---

# Create a Blazor application

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.

N> Blazor project templates require Essential Studio `v17.4.0.39` and later are supported by the Syncfusion® Visual Studio Code project template.

Use the following steps to create Syncfusion® Blazor applications in Visual Studio Code:

1. Open the Command Palette (`Ctrl+Shift+P`) and search for **Syncfusion** to list available commands.

    ![Command Palette showing commands](images/createblazorprojectpalette.webp)

2. Choose **Syncfusion Blazor Template Studio: Launch** and provide the project name and path in the wizard.

    ![Template Studio wizard with Project name and Project path fields](images/projectlocationname1.webp)

3. On the **Project type** tab, select the application type that matches your installed .NET SDK.

    Supported .NET SDKs and application types:

    | Application Type | Supported .NET SDK Versions |
    | --- | --- |
    | Blazor Web App | .NET 8.0, 9.0, 10.0 |
    | Blazor WebAssembly App | .NET 8.0, 9.0, 10.0 |

    In the Blazor Web App type you can choose interactivity (Server, WebAssembly, Auto) and interactivity location (global or per page/component).

    ![Project type selection showing Blazor Web App options](images/webapptype1.webp)

    For WebAssembly projects, you can opt into Progressive Web Application (PWA) support.

    ![Project type selection showing Blazor WebAssembly and PWA option](images/projecttypedetails1.webp)

4. On the **Controls** tab, pick the [Blazor components](https://www.syncfusion.com/blazor-components) to include in the project by selecting their tiles.

    ![Controls tab listing Blazor components](images/controlssection.webp)

    N> Select at least one control to enable the **Features** and **Configuration** tabs.

5. On the **Features** tab, choose per-control features you want included in the scaffolded pages.

    ![FeaturesSection](images/featuressection.webp)

6. 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.

    ![Configuration panel showing interactivity options for Blazor Web App](images/webapp.webp)

    ![Configuration panel showing PWA option for Blazor WebAssembly](images/webassembly.webp)

    Use the **Project details** panel to review selections, remove controls, or change the app configuration before creating the project.

    ![Project Details panel showing selected controls and configuration summary](images/projectdetailsrightside.webp)

7. Click **Create**. The Template Studio generates the project with the selected NuGet packages, theme references, namespaces, and component render code.

8. Run the project using the terminal command or the debugger:

{% tabs %}
{% highlight bash tabtitle=".NET CLI" %}

dotnet run

{% endhighlight %}
{% endtabs %}

Alternatively, press **F5** or go to **Run > Start Debugging** to launch the application.

![Running the generated Blazor project in Visual Studio Code](images/runproject.webp)

## What Template Studio configures for you

- NuGet: Adds the [Syncfusion.Blazor](https://www.nuget.org/packages/Syncfusion.Blazor) package (and individual packages when applicable).

    ![NuGetPackage](images/nugetpackage.webp)

- Theme: Adds the chosen theme reference to the appropriate location (`~/Components/App.razor` for Blazor Web App, or `wwwroot/index.html` for WebAssembly projects).

    ![Theme reference location examples](images/cdnlink.webp)

- Namespaces: Inserts namespaces into `_Imports.razor`.

    ![Imports file showing namespaces](images/namespace.webp)

- Component render code: Adds sample usage (Calendar, Button, DataGrid) into the Pages folder (Index/Counter/FetchData).

    ![Index page updated with components](images/indexfilechange.webp)

N> If you installed the trial setup or NuGet packages from [nuget.org](https://www.nuget.org), you must register the license key. Refer to the [licensing overview](https://blazor.syncfusion.com/documentation/getting-started/license-key/overview) for details on generating and registering your license key.    

## See also

- [Overview of Blazor Extension for Visual Studio Code](overview.md)
- [Download and Installation for Visual Studio Code](download-and-installation.md)
- [Code Snippets for Visual Studio Code](code-snippet.md)
- [Convert Project for Visual Studio Code](convert-project.md)
- [Upgrade Project for Visual Studio Code](upgrade-project.md)
- [Scaffolding for Visual Studio Code](scaffolding.md)
