Skip to main content
All docs
V25.2
  • Install UI Components & Templates in VS Code

    • 2 minutes to read

    Install DevExpress Blazor components and templates to create and run Blazor projects in Visual Studio Code.

    Install DevExpress Blazor Components

    1. Obtain DevExpress NuGet feed credentials.
    2. Register the DevExpress NuGet feed as a package source with the following command:

      dotnet nuget add source https://nuget.devexpress.com/api/v3/index.json -n DXFeed -u DevExpress -p {your-feed-authorization-key}
      

      Note

      Non-Windows operating systems do not support password encryption. To store credentials as plain text on these systems, add the --store-password-in-clear-text option to the command.

      dotnet nuget add source https://nuget.devexpress.com/api/v3/index.json -n DXFeed -u DevExpress -p {your-feed-authorization-key} --store-password-in-clear-text
      

      For more information on managing credentials securely, refer to the following article: Security best practices for managing credentials.

    Refer to the following help topic to learn how to install, update, and remove NuGet packages in Visual Studio Code: NuGet in Visual Studio Code.

    Install the DevExpress Template Kit

    The DevExpress Template Kit allows you to create DevExpress Blazor projects in Visual Studio Code. It adds project templates with preconfigured DevExpress package references so you can start development immediately.

    The Template Kit extension for Visual Studio Code works under both Microsoft Windows and macOS.

    To install the extension:

    1. In Visual Studio Code, open the Extensions view.
    2. Search for “DevExpress Template Kit for VS Code”.

      DevExpress Template Kit Extension for VS Code

    3. Click the Install button.

    Allow Code Execution

    To enable build and debug in Visual Studio Code, install the C# Dev Kit for Visual Studio Code extension:

    1. In Visual Studio Code, open the Extensions view.
    2. Search for “C# Dev Kit” from the publisher Microsoft.
    3. Click the Install button.