Incursa.OpenAI.ChatKit.AspNetCore 1.0.15

There is a newer version of this package available.
See the version list below for details.
dotnet add package Incursa.OpenAI.ChatKit.AspNetCore --version 1.0.15
                    
NuGet\Install-Package Incursa.OpenAI.ChatKit.AspNetCore -Version 1.0.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Incursa.OpenAI.ChatKit.AspNetCore" Version="1.0.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Incursa.OpenAI.ChatKit.AspNetCore" Version="1.0.15" />
                    
Directory.Packages.props
<PackageReference Include="Incursa.OpenAI.ChatKit.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Incursa.OpenAI.ChatKit.AspNetCore --version 1.0.15
                    
#r "nuget: Incursa.OpenAI.ChatKit.AspNetCore, 1.0.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Incursa.OpenAI.ChatKit.AspNetCore@1.0.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Incursa.OpenAI.ChatKit.AspNetCore&version=1.0.15
                    
Install as a Cake Addin
#tool nuget:?package=Incursa.OpenAI.ChatKit.AspNetCore&version=1.0.15
                    
Install as a Cake Tool

Incursa.OpenAI.ChatKit.AspNetCore

Incursa.OpenAI.ChatKit.AspNetCore provides ASP.NET Core hosting helpers, Razor tag helpers, and packaged browser assets for Incursa.OpenAI.ChatKit.

What this package contains

  • MapChatKit<TServer, TContext>(...) for HTTP endpoint and SSE response handling
  • <incursa-chatkit-assets /> to emit the packaged CSS, package runtime, and ChatKit CDN script
  • <incursa-chatkit /> to render a browser mount point with serialized host configuration
  • ChatKitAspNetCoreOptions and AddIncursaOpenAIChatKitAspNetCore(...) for shared UI defaults

Registration

builder.Services.AddIncursaOpenAIChatKitAspNetCore(options =>
{
    options.DefaultHeight = "760px";
    options.StartScreen.Greeting = "How can I help today?";
    options.Theme.ColorScheme = "dark";
});

You can also bind the options from configuration:

builder.Services.AddIncursaOpenAIChatKitAspNetCore(
    builder.Configuration.GetSection("ChatKit"));

Razor usage

@addTagHelper *, Incursa.OpenAI.ChatKit.AspNetCore

<incursa-chatkit-assets />

<incursa-chatkit
    id="workspace-assistant"
    class="chatkit-page"
    session-endpoint="/api/chatkit/session"
    action-endpoint="/api/chatkit/action">
</incursa-chatkit>

If you use the conventional local endpoints, the host tag helper can infer them automatically:

<incursa-chatkit-assets />
<incursa-chatkit />

Hosted API mode

The packaged frontend can also connect directly to a hosted ChatKit API:

<incursa-chatkit-assets />
<incursa-chatkit
    api-url="https://example.contoso.com/chatkit"
    domain-key="your-domain-key">
</incursa-chatkit>

Updating the packaged UI assets

The package includes both generated assets under wwwroot/chatkit and the source used to rebuild them under ClientApp/chatkit-runtime.

To update the packaged UI when @openai/chatkit-react or related frontend dependencies change:

cd src/Incursa.OpenAI.ChatKit.AspNetCore/ClientApp/chatkit-runtime
npm install
npm run build

Commit the updated dependency files and the regenerated files under wwwroot/chatkit.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.5 111 3/24/2026
3.0.3 84 3/20/2026
3.0.2 88 3/20/2026
3.0.1 86 3/19/2026
3.0.0 94 3/19/2026
2.0.1 86 3/19/2026
2.0.0 84 3/19/2026
1.0.16 86 3/19/2026
1.0.15 92 3/18/2026
1.0.14 80 3/18/2026
1.0.13 85 3/18/2026