Skip to content

Getting started

Prerequisites

  • .NET 10 SDK (source TFM), Node.js + npm

Scaffold

dotnet new install <installer-package-or-path>
dotnet new connectsoft-blazor-mfe-aichat -n Acme.Support.Chat

Run the demo host

cd Acme.Support.Chat
npm install
npm run build:css
dotnet run --project samples/AIChatDemo.BlazorServer

Open /chat to use the chat UI - it works immediately against the in-process mock AI.

Embed in your own host

Reference the RCL package/project and wire it:

builder.Services.AddAIChatServices();
app.MapRazorComponents<App>()
   .AddInteractiveServerRenderMode()
   .AddAdditionalAssemblies(typeof(<Name>.Pages.Home).Assembly);

Test

dotnet test    # MSTest + bUnit

See also