New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Telerik ASP.NET Core GitHub Copilot Extension

The Telerik ASP.NET Core GitHub Copilot extension provides proprietary context for the Telerik UI for ASP.NET Core components. The extension works as an ASP.NET Core AI code generator and can help you reach new levels of developer productivity. You can get useful tips and generate tailored code snippets that include Telerik UI for ASP.NET Core HtmlHelper and TagHelper components, along with their APIs.

Prerequisites

To use the Telerik GitHub Copilot extension for ASP.NET Core, you need:

Installation

To install the Telerik ASP.NET Core Copilot extension:

  1. Install the GitHub Apps:

  2. You will see a list that includes your GitHub account and all GitHub organizations that you are part of. Normally, select your GitHub account.

  3. Click the Install & Authorize button. This will authorize the GitHub Copilot extension to integrate with your GitHub account.

  4. Enter your GitHub password.

  5. You will be redirected to telerik.com. Enter your Telerik account credentials if prompted. This will authorize the GitHub Copilot extension to integrate with your Telerik account.

  6. Upon successful Telerik authentication, you will be redirected once again to a page that confirms successful Copilot extension installation.

  7. Restart your Copilot-enabled apps (for example, VS Code).

  8. Start a new chat session in Copilot.

Usage

When switching between tasks and files, start a new session in a new chat window to avoid polluting the context with irrelevant or outdated information.

To use the Telerik ASP.NET Core Copilot extension:

  1. Open the GitHub Copilot chat window in your Copilot-enabled app.

  2. Choose your preferred mode and model.
    At the time of publishing, Claude Sonnet 4 and GPT-5 produce optimal results.

  3. Make sure you are in Ask mode and not in Edit or Agent mode. The Edit and Agent modes do not use the Telerik Copilot extension. However, the Agent mode can use the Telerik ASP.NET Core MCP server.

  4. Start your prompt with @telerikaspnetcorehtml for the HtmlHelper components and @telerikaspnetcoretag for TagHelper components, and type your request. Make sure that @telerikaspnetcorehtml or @telerikaspnetcoretag are recognized and highlighted. Otherwise the extensions may not have been installed.

  5. Inspect the output and verify that TelerikASPNetCoreHtml or TelerikASPNetCoreTag is used.

    GitHub Copilot Extension uses Telerik ASP.NET Core AI Coding Assistant

  6. If requested, grant permission to the Telerik ASP.NET Core extension to read your workspace files.

  7. If you want to prompt for information or code that are not related to your previous prompts, it is a good practice to start a new session in a new chat window, so that the context is not polluted by irrelevant old information.

Sample Prompts

The following list describes how your prompts may look like:

  • When generating HtmlHelper components:

    • "@telerikaspnetcorehtml Generate a Telerik UI for ASP.NET Core Grid with sorting and paging enabled. Bind the Grid to dummy data."
    • "@telerikaspnetcorehtml Generate a ComboBox that shows a list of products. Create a Product class and generate sample data."
    • "@telerikaspnetcorehtml Show me sample code for a Telerik UI for ASP.NET Core Grid with virtual scrolling for the rows and columns."
  • When generating TagHelper components:

    • "@telerikaspnetcoretag Generate a Telerik UI for ASP.NET Core Grid with sorting and paging enabled. Bind the Grid to dummy data."
    • "@telerikaspnetcoretag Generate a ComboBox that shows a list of products. Create a Product class and generate sample data."
    • "@telerikaspnetcoretag Show me sample code for a Telerik UI for ASP.NET Core Grid with virtual scrolling for the rows and columns."

Visit the Telerik ASP.NET Core Prompt Library for more sample prompts.

Usage Limits

A Telerik Subscription license is recommended in order to use the Telerik ASP.NET Core AI Coding Assistant without restrictions. Perpetual license holders and trial users can make a limited number of requests per year.

See Also