/syncfusion-aspnet-mvc:syncfusion-aspnetmvc-ai-assistviewfrom Syncfusion ASP.NET MVC UI Controls
Implement the Syncfusion ASP.NET MVC AI AssistView component — a conversational AI chat interface with prompt/response rendering, prompt suggestions, mentions in the prompt editor, custom views, toolbar customization, file attachments, speech-to-text, telemetry tracking, AI backend integrations (Azure OpenAI, Gemini, Ollama, LiteLLM), generative UI with interactive tools, Chain of Thoughts reasoning visualization and text-to-speech audio playback. Use this skill when building AI chat UIs, integrating LLM backends, configuring assistant toolbars, customizing templates, rendering dynamic UI components, or handling voice input/output in ASP.NET MVC applications.
Ships in Syncfusion ASP.NET MVC UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A full-featured conversational AI interface component for ASP.NET MVC. Renders prompt/response conversations, supports prompt suggestions, custom views, toolbar customization, file attachments, speech-to-text, and integrates with major AI backends.
📄 Read: references/getting-started.md
AIAssistView renderPromptRequest and addPromptResponsePromptSuggestions with matched responses📄 Read: references/assist-view-config.md
Prompt property)PromptPlaceholder)Prompts collection)PromptIconCss)ResponseIconCss)ShowClearButton)EnableScrollToBottom)📄 Read: references/appearance.md
Width property)Height property)CssClass property)📄 Read: references/templates.md
BannerTemplate) — welcome notes, brandingPromptItemTemplate) — custom prompt bubblesResponseItemTemplate) — custom response bubblesResponseAnimationTemplate) — custom loading indicator while response is being generatedPromptSuggestionItemTemplate)FooterTemplate) — fully custom input area📄 Read: references/toolbar-items.md
Align property (Left, Center, Right)PromptToolbarSettings)ResponseToolbarSettings)RegeneratedResponses property)📄 Read: references/generative-ui.md
registerToolUI method)blocks property with blockType: 'tool'📄 Read: references/chain-of-thoughts.md
blockType: 'thinking' and stages arraycompleted, inprogress, failedblockTemplate, itemTemplate)📄 Read: references/custom-views.md
Views collectionAssist vs Custom)IconCss), and ViewTemplateActiveView)📄 Read: references/file-attachments.md
EnableAttachments)AttachmentSettings (SaveUrl, RemoveUrl)AllowedFileType)MaxFileSize)MaximumCount)📄 Read: references/events.md
Created — after control rendersPromptRequest — when user submits a promptPromptChanged — when prompt text changesBeforeAttachmentUpload, AttachmentUploadSuccess, AttachmentUploadFailure, AttachmentRemoved, AttachmentRemoving, AttachmentClick📄 Read: references/methods.md
addPromptResponse(string) — add response to last promptaddPromptResponse(object) — add new prompt+response pairexecutePrompt(string) — programmatically trigger a prompt📄 Read: references/ai-integrations.md
Mscc.GenerativeAI NuGet)Microsoft.Extensions.AI)SpeechToTextSettings: enable, lang, buttonSettings, tooltipSettings, interimResults, events)TextToSpeechSettings: language, speechPitch, speechRate, volume, voice; enable via e-assist-audio toolbar icon)marked.js)📄 Read: references/telemetry.md
TelemetrySettings(new AIAssistViewTelemetrySettings { Enable = true })Metrics property (status, duration, toolCalls, streamingChunks, model, inputTokens, outputTokens, totalTokens, reasoningTokens, cachedInputTokens)BeforeReport callback (modify, add custom attributes, or suppress)TelemetryData to addPromptResponse to merge model and token usage detailscustomAttributes on TelemetryData📄 Read: references/mentions.md
Mentions property (array of mention settings)MentionChar (e.g., @, /) and ShowMentionChar toggle for selected mentionsDataSource (local collection or DataManager for remote data)Fields for display text and unique valueQuery, FilterType (Contains, StartsWith, EndsWith), and Highlight propertiesPopupWidth and PopupHeightDisplayTemplate, ItemTemplate, and NoRecordsTemplateMentionSelect event with args.itemData@using Syncfusion.EJ2.InteractiveChat
@using Newtonsoft.Json
@{
var suggestions = new string[] {
"How do I prioritize my tasks?",
"How can I improve my time management skills?"
};
var prompts = new[]
{
new { prompt = "How do I prioritize my tasks?",
response = "Prioritize tasks by urgency and impact: tackle high-impact tasks first, delegate when possible, and break large tasks into smaller steps.",
suggestionData = new List<string>() }
};
var promptsJson = Html.Raw(JsonConvert.SerializeObject(prompts));
}
<div style="height: 350px; width: 650px;">
@Html.EJS().AIAssistView("aiAssistView")
.PromptSuggestions(suggestions)
.PromptRequest("onPromptRequest")
.Created("onCreated")
.Render()
</div>
<script>
var assistObj;
var prompts = @Html.Raw(promptsJson);
function onCreated() { assistObj = this; }
function onPromptRequest(args) {
setTimeout(function () {
var found = prompts.find(p => p.prompt === args.prompt);
var defaultResponse = 'Connect to your AI service for real-time responses.';
assistObj.addPromptResponse(found ? found.response : defaultResponse);
}, 2000);
}
</script>
// Include marked.js: <script src="https://cdn.jsdelivr.net/npm/marked@latest/marked.min.js"></script>
async function streamResponse(responseText) {
let current = '';
let i = 0;
while (i < responseText.length) {
current += responseText[i++];
if (i % 10 === 0 || i === responseText.length) {
assistObj.addPromptResponse(marked.parse(current), i === responseText.length);
assistObj.scrollToBottom();
}
await new Promise(r => setTimeout(r, 15));
}
}
[HttpPost]
public async Task<IActionResult> GetAIResponse([FromBody] PromptRequest request)
{
if (string.IsNullOrEmpty(request?.Prompt))
return BadRequest("Prompt cannot be empty.");
// Call AI provider and return Json(responseText)
}
public class PromptRequest { public string Prompt { get; set; } }
function toolbarItemClicked(args) {
if (args.item.iconCss === 'e-icons e-refresh') {
assistObj.prompts = [];
assistObj.promptSuggestions = suggestions;
}
}
| Property | Type | Description |
|---|---|---|
Prompt | string | Pre-set prompt text |
PromptPlaceholder | string | Textarea placeholder (default: "Type prompt for assistance...") |
Prompts | collection | Pre-loaded prompt/response data; supports regeneratedResponses for alternative responses |
PromptSuggestions | string[] | Suggestion chips shown to user |
PromptSuggestionsHeader | string | Header above suggestion chips |
PromptIconCss | string | CSS class for prompter avatar |
ResponseIconCss | string | CSS class for responder avatar (default: e-assistview-icon) |
ShowClearButton | bool | Show clear button in textarea (default: false) |
EnableScrollToBottom | bool | Show scroll-to-bottom icon (default: true) |
Width / Height | string | Control dimensions (default: 100%) |
CssClass | string | Custom CSS class for theming |
ActiveView | int | Zero-based index of active view (default: 0) |
EnableAttachments | bool | Enable file attachment button (default: false) |
ResponseToolbarSettings.Items | collection | Response toolbar buttons; can include e-assist-regenerate (regenerate) and e-assist-audio (text-to-speech) |
TextToSpeechSettings | object | Configure TTS behavior: Language, SpeechPitch, SpeechRate, Volume, Voice |
TelemetrySettings | object | Configure telemetry tracking: Enable, Metrics, BeforeReport; hover tooltip in response toolbar shows the captured report |
Mentions | collection | Array of mention settings with MentionChar, DataSource, Fields, Query, FilterType, Highlight, ShowMentionChar, PopupWidth, PopupHeight, DisplayTemplate, ItemTemplate, NoRecordsTemplate |
BlockTemplate | string | Custom template for thinking/tool blocks (generative UI and Chain of Thoughts) |
ItemTemplate | string | Custom template for thinking block stages in timeline |
| Event | Trigger |
|---|---|
Created | Control fully rendered |
PromptRequest | User submits a prompt |
PromptChanged | Prompt textarea text changes |
BeforeAttachmentUpload | Before file upload begins |
AttachmentUploadSuccess | File uploaded successfully |
AttachmentUploadFailure | File upload failed |
AttachmentRemoved | Attachment removed |
AttachmentRemoving | Attachment is being removed (pre-removal hook) |
| Method | Description |
|---|---|
assistObj.addPromptResponse('text') | Add string response to last prompt |
assistObj.addPromptResponse({prompt, response}) | Add new prompt+response pair |
assistObj.executePrompt('text') | Programmatically submit a prompt |
assistObj.scrollToBottom() | Scroll conversation to bottom |
references/ai-integrations.md (opens in a new tab)references/appearance.md (opens in a new tab)references/assist-view-config.md (opens in a new tab)references/chain-of-thoughts.md (opens in a new tab)references/custom-views.md (opens in a new tab)references/events.md (opens in a new tab)references/file-attachments.md (opens in a new tab)references/generative-ui.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/mentions.md (opens in a new tab)references/methods.md (opens in a new tab)references/telemetry.md (opens in a new tab)references/templates.md (opens in a new tab)references/toolbar-items.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-mvc38 skills in this plugin
/syncfusion-aspnetmvc-3d-chartBuild interactive 3D charts in ASP.NET MVC using Syncfusion controls. Trigger when user needs 3D data visualization with bar charts, column charts, stacked variants, axis configuration, data labels, legends, tooltips, interactive selection, or print/export functionality. Use this skill for any 3D chart implementation in MVC applications./syncfusion-aspnetmvc-accumulation-chartsComplete API reference and implementation guide for Syncfusion Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) for ASP.NET MVC 5 applications. ALWAYS use this skill when user mentions accumulation charts, pie charts, doughnut charts, pyramid charts, funnel charts, circular charts, data visualization with percentages, proportional data display survey results display, budget breakdown, or any scenario requiring visual representation of parts-to-whole relationships in ASP.NET MVC./syncfusion-aspnetmvc-barcodesUse this skill whenever the user asks to generate, customize, render, or export barcodes, QR codes, or DataMatrix codes using Syncfusion ASP.NET MVC Barcode components. Trigger this skill for requests involving BarcodeGenerator,QRCodeGenerator, or DataMatrixGenerator, including barcode types such as Code39,Code128, and Codabar, visual customization (color, size, display text), QR logo embedding, and exporting barcodes as JPG, PNG, or Base64 in ASP.NET MVC projects./syncfusion-aspnetmvc-blockeditorImplement Syncfusion ASP.NET MVC Block Editor control. Use when building block-based rich content editors, configuring block types (Paragraph, Heading, List, Code, Table, Image, Callout, Collapsible), handling drag-and-drop, editor menus (slash command, context, block action, inline toolbar), events, methods, paste cleanup, undo/redo, globalization, appearance, collaborative editing with real-time synchronization, version history, and user presence features in ASP.NET MVC Razor views./syncfusion-aspnetmvc-bullet-chartImplement Syncfusion ASP.NET MVC Bullet Charts for data visualization. Always use when user needs bullet charts, performance indicators, KPI dashboards, target vs actual comparisons, quality range visualizations, progress metrics, or data with comparative targets. Covers installation, data binding, ranges, value bars, comparative bars, axis customization, labels, tooltips, titles, dimensions, theming, accessibility, and RTL support for ASP.NET MVC applications./syncfusion-aspnetmvc-chartsComplete implementation guide for Syncfusion ASP.NET MVC Chart component. Always use this when users need data visualization, charts, graphs, plotting data, financial charts, statistical charts, line charts, bar charts, column charts, area charts, pie charts, donut charts, scatter plots, bubble charts, candlestick charts, OHLC charts, technical indicators, trendlines, zooming, panning, tooltips, legends, data labels, axes configuration, multiple series, combination charts.