DevExpress.AIIntegration.Blazor.Chat
Target Platform/Framework: Cross-Platform DevExpress Product Libraries Used: DevExpress AI-powered Extensions for OpenAI, Azure, Ollama, Semantic Kernel (https://www.devexpress.com/ai) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, ASP.NET & Blazor (includes DevExtreme), WPF, Reporting
Install
| Product | Versions |
|---|---|
| .NET |
README
DevExpress Blazor AI Chat
DevExpress Blazor AI Chat allows you to add an interactive chat UI to your Blazor application.
Key Features
- Fast responses
- Additional context support (file attachments, individual/system prompts, reference materials, MCP usage)
- Prompt suggestions
- Rich formatted responses
- Persistent session context
- Runtime AI model change support
- Manual message processing
- AI tool calling
- UI and appearance customization
Examples
The AI Chat component requires the following NuGet packages:
- DevExpress.AIIntegration.Blazor.Chat
- DevExpress.Blazor
Install required packages:
dotnet add package DevExpress.Blazor
dotnet add package DevExpress.AIIntegration.Blazor.Chat
Example 1: Add the AI Chat Component to the Page
<DxAIChat />
Example 2: Restore a Saved Conversation
<DxAIChat Initialized="ChatInitialized" />
@code {
void ChatInitialized(IAIChat chat) {
chat.LoadMessages(new[] {
new BlazorChatMessage(Microsoft.Extensions.AI.ChatRole.Assistant, "Hello, how can I help you?")
});
}
}
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.
If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.
This package is included in the following commercial subscriptions:
- DevExpress ASP.NET and Blazor Subscription
- DevExpress DXperience Subscription
- DevExpress Universal Subscription
- DevExpress WinForms Subscription
- DevExpress WPF Subscription
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Software Bill of Materials (SBOM)
To access SBOM files for DevExpress packages, see the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.
See Also: Information Security | Security - What You Need to Know
Related Components/Packages
DevExpress.Blazor - Native DevExpress UI components for Blazor applications.
dotnet add package DevExpress.Blazor
Demos
GitHub Examples
- DevExpress Blazor AI Chat — Multi-Model Chat with Conversation History
- DevExpress Blazor AI Chat — Integration with Model Context Protocol
Documentation
Useful Online Resources
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.