Visual Studio Code Integration Overview

The Telerik UI for ASP.NET Core Template Wizard Visual Studio Code Extension enhances the experience in developing ASP.NET Core web applications with Telerik UI for ASP.NET Core.

As its primary advantage, the VS Code extension facilitates the creation of projects through a wizard directly in Visual Studio Code.

Telerik UI for ASP.NET Core Ninja image
New to Telerik UI for ASP.NET Core?

Telerik UI for ASP.NET Core is a professional grade UI library with 100+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Get the Extension

You can get the extention:

  • from the Visual Studio Marketplace

  • by opening the Extensions tab in Visual Studio Code, then searching for Telerik UI for ASP.NET Core Template Wizard and clicking Install

Create a Telerik Project

To create a Telerik-enabled ASP.NET Core project:

  1. Press Ctrl+Shift+P in Windows/Linux or Cmd+Shift+P on Mac to open VSCode's extension launcher

    launch Telerik ASP.NET Core VS Code extension

  2. Type/Select Telerik UI for ASP.NET Core Template Wizard: Launch and press Enter to launch the extension

  3. The wizard will now guide you through the project creation steps:

    1. Choose a project name and location

      choose Telerik project name and location

    2. The type of your Telerik license (trial or commercial, depending on what you have)

      choose ASP.NET Core project type and Telerik license

    3. Add some sample pages to get you started (a grid with CRUD operations, a form and charts)

      add sample pages

    4. Choose a Theme.

      choose Telerik Theme

  4. When you open the project, to run it:

    1. Open the terminal and navigate to the project folder.

    2. Execute dotnet run and navigate your browser to the link you see in the console output.

    Alternatively, you may open the solution file with Visual Studio and build the application. Once the NuGet packages get restored and the build passes, you will have your ASP.NET Core project up and running.

  5. You now have a ASP.NET Core app running!

Troubleshooting

If the extension does not work right (missing pages, does not start, etc.), you can try the following to clean up cache files and get it working again:

  1. Uninstall the extension from VS Code.
  2. Go to the extensions templates cache folder and delete the CoreT folder - this is where cache for the Telerik extensions are kept:
    • on Windows, open %localappdata%
    • on Mac, open /Users/[user_name]/.local/share/
  3. Install the extension again.

If you see Response status code does not indicate success: 401 (Logon failed.)., then the Nuget.Config file in %APPDATA%\NuGet may contain invalid credentials or keys. For more information check the Nuget Install article or Nuget Setup with CLI article

In this article
Not finding the help you need? Improve this article