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

Telerik ASP.NET Core Prompt Library

Welcome to the Telerik ASP.NET Core Prompt Library.

The prompts provided here are intended and optimized for use with the Telerik ASP.NET Core AI Coding Assistant MCP Server. They can help you kick start your app development and speed up the component configuration process.

This collection of prompts is not exhaustive and the Telerik ASP.NET Core team is constantly working on adding more prompts to the library.

Go straight to the prompts ⬇️

How to Use the Prompts

All prompts in this library target the MCP Server through the #telerik_aspnetcorehtml_assistant or #telerik_aspnetcoretag_assistant handle. Make sure that you have installed and enabled either the Telerik ASP.NET Core HtmlHelpers or Telerik ASP.NET Core TagHelpers MCP Server before attempting to run the prompts.

  1. Browse the prompt library to find a prompt that suits your needs.
  2. Copy the prompt text (including the #telerik_aspnetcorehtml_assistant or #telerik_aspnetcoretag_assistant handle, based on the used HtmlHelper or TagHelper synax).
  3. (Optional) Customize the prompt as needed for your specific use case but keep the #telerik_aspnetcore{syntax type}_assistant handle.
    When modifying the prompts, make sure the changes comply with the intended use and the recommendations for the AI Coding Assistant.
  4. Run the prompt against the MCP Server.

Always double-check the code and solutions proposed by any AI-powered tool before applying them to your project.

Use with the Copilot Extension

To run the provided prompts in the Telerik ASP.NET Core GitHub Copilot Extension (without the MCP Server installed), modify the prompts to use the @telerikaspnetcorehtml or @telerikaspnetcoretag handle instead.

Component-Specific Prompts

This section provides prompt ideas for the most popular and complex Telerik UI for ASP.NET Core components.

Grid

The Telerik UI for ASP.NET Core Grid lets you create responsive, accessible, and customizable ASP.NET Core applications that require the displaying and management of large datasets.

HtmlHelper Examples

prompt
#telerik_aspnetcorehtml_assistant Create a basic Grid component that displays employee data with columns for ID, Name, Position, and Salary. Include sorting and pagination functionality. 
prompt
#telerik_aspnetcorehtml_assistant Implement a Grid with filter row functionality. Show how to set up default filter operators for text, numeric, and date columns.
prompt
#telerik_aspnetcorehtml_assistant Add Excel and PDF export functionality to a Grid.
prompt
#telerik_aspnetcorehtml_assistant Set up a Grid with virtual scrolling to handle large datasets efficiently.
prompt
#telerik_aspnetcorehtml_assistant Create a Grid that bind to a Model and has 3 columns: Name, Age, Status, and StartDate. The Name column must use a client template with the Name and Age values. The StartDate column must be displayed in foramt "dd/MM/yyyy". The Status column must display "Active" if its value is "true" and "Inactive" if its value is "false".

TagHelper Examples

prompt
#telerik_aspnetcoretag_assistant Create a basic Grid component that displays employee data with columns for ID, Name, Position, and Salary. Include sorting and pagination functionality. 
prompt
#telerik_aspnetcoretag_assistant Implement a basic Grid with enabled default filter row functionality. Set up default filter operators for some of the columns.
prompt
#telerik_aspnetcoretag_assistant Add Excel and PDF export functionality to a Grid.
prompt
#telerik_aspnetcoretag_assistant Set up a TagHelper Grid with enabled virtual scrolling to handle large datasets efficiently.
prompt
#telerik_aspnetcoretag_assistant Create a Grid that has 3 columns: Name, Age, Status, and StartDate. The Name column must use a client template with the Name and Age values. The StartDate column must be displayed in foramt "dd/MM/yyyy". The Status column must display "Active" if its value is "true" and "Inactive" if its value is "false".

Charts

The Telerik UI for ASP.NET Core Charts provide a comprehensive charting solution for data visualization with multiple chart types and customization options.

HtmlHelper Examples

prompt
#telerik_aspnetcorehtml_assistant Return a self-contained Razor snippet for a Line Chart showing sales for the 12 months, using inline numeric data and explicit month categories; .Name("chartLineBasic"), .Title, shared tooltip, and height 400px.
prompt
#telerik_aspnetcorehtml_assistant Self-contained Area Chart (normal stacking) for Product A/B/C with month categories; .Name("chartAreaStacked"); legend visible; shared tooltip; height ~420px.
prompt
#telerik_aspnetcorehtml_assistant Self-contained Column Chart comparing three products over Jan–Jun with inline numbers; .Name("chartColumnProducts"); shared tooltip; value axis format "{0} units".
prompt
#telerik_aspnetcorehtml_assistant Implement a donut chart with custom center text displaying total values and hover effects for individual segments.
prompt
#telerik_aspnetcorehtml_assistant Create a pie chart for market share data with custom colors, data labels showing percentages, and legend positioning.

TagHelper Examples

prompt
#telerik_aspnetcoretag_assistant Return a self-contained snippet for a Line Chart showing sales for the 12 months, using inline numeric data and explicit month categories; name="chartLineBasic", title, a shared tooltip, and height 400px.
prompt
#telerik_aspnetcoretag_assistant Self-contained Area Chart (normal stacking) for Product A/B/C with month categories; name="chartAreaStacked"; visible legend and a shared tooltip.
prompt
#telerik_aspnetcoretag_assistant Self-contained Column Chart comparing three products over Jan–Jun with inline numbers; name="chartColumnProducts"; a shared tooltip; value axis format "{0} units".
prompt
#telerik_aspnetcoretag_assistant Implement a donut chart with custom center text displaying total values and hover effects for individual segments.
prompt
#telerik_aspnetcoretag_assistant Create a pie chart for market share data with custom colors, data labels showing percentages, and legend positioning.

DatePicker

The Telerik UI for ASP.NET Core DatePicker component allows users to select dates from a calendar pop-up or by typing in a date input field. It supports features such as date formatting, validation, min/max date restrictions, and integration with forms.

HtmlHelper Examples

prompt
#telerik_aspnetcorehtml_assistant Create a DatePicker for birthdate selection with min date to today's date in 2018 year and max date to today's date in 2028 year. The date format must be dd/MM/yyyy.
prompt
#telerik_aspnetcorehtml_assistant Build a DatePicker for appointment booking that disables specific dates (holidays array).
prompt
#telerik_aspnetcorehtml_assistant Implement two DatePickers for "From" and "To" date selection where the "To" picker's min date updates based on "From" selection.
prompt
#telerik_aspnetcorehtml_assistant Create an adaptive DatePicker using the adaptive mode for a mobile friendly user interface.
prompt
#telerik_aspnetcorehtml_assistant Add the DatePicker as an editor into the Telerik UI for ASP.NET Core Form with 2 fields: Name and StartDate.

TagHelper Examples

prompt
#telerik_aspnetcoretag_assistant Create a DatePicker for birthdate selection with min date to today's date in 2018 year and max date to today's date in 2028 year. The date format must be dd/MM/yyyy.
prompt
#telerik_aspnetcoretag_assistant Build a DatePicker for appointment booking that disables specific dates (holidays array).
prompt
#telerik_aspnetcoretag_assistant Implement two DatePickers for "From" and "To" date selection where the "To" picker's min date updates based on "From" selection.
prompt
#telerik_aspnetcoretag_assistant Create an adaptive DatePicker using the adaptive mode for a mobile friendly user interface.
prompt
#telerik_aspnetcoretag_assistant Add the DatePicker as an editor into the Telerik UI for ASP.NET Core Form with 2 fields: Name and StartDate.

Form

The Telerik UI for ASP.NET Core Form provides a variety of built-in options and features to generate and manage forms in your application.

HtmlHelper Examples

prompt
#telerik_aspnetcorehtml_assistant Create a basic user profile settings page using the Telerik UI for ASP.NET Core HtmlHelper Form. The form must have 3 fields - name, email, and Agree.
prompt
#telerik_aspnetcorehtml_assistant Show me how to create a Telerik UI Form that has three fields - a textbox for the name, a DatePicker for start date and DropDownList for the selected tier (free, premium, ultimate).
prompt
#telerik_aspnetcorehtml_assistant Generate a Form with required field validation for email and password inputs.
prompt
#telerik_aspnetcorehtml_assistant Create a Form with fields First Name, Last Name, Email, date of birth. Submit button with an icon and a Clear button.
prompt
#telerik_aspnetcorehtml_assistant Self-contained Kendo Form (HtmlHelper) bound to Model with grid layout: 2 columns, 20 gutter. Items: TextBox FirstName, TextBox LastName, TextBox Email, TextBox Phone. Enable Validatable with ValidationSummary Template (error list).

TagHelper Examples

prompt
#telerik_aspnetcoretag_assistant Create a basic user profile settings page using the Telerik UI for ASP.NET Core TagHelper Form. The form must have 3 fields - name, email, and Agree.
prompt
#telerik_aspnetcoretag_assistant Show me how to create a Telerik UI Form that has three fields - a textbox for the name, a DatePicker for start date and DropDownList for the selected tier (free, premium, ultimate).
prompt
#telerik_aspnetcoretag_assistant Generate a Form with required field validation for email and password inputs.
prompt
#telerik_aspnetcoretag_assistant Create a Form with fields First Name, Last Name, Email, date of birth. Submit button with an icon and a Clear button.
prompt
#telerik_aspnetcoretag_assistant Self-contained Kendo Form (TagHelper) with grid layout: 2 columns, 20 gutter. Items: TextBox FirstName, TextBox LastName, TextBox Email, TextBox Phone. Enable Validatable with ValidationSummary Template (error list).

See Also