Helpgenai.Runtime.Blazor
1.0.1
dotnet add package Helpgenai.Runtime.Blazor --version 1.0.1
NuGet\Install-Package Helpgenai.Runtime.Blazor -Version 1.0.1
<PackageReference Include="Helpgenai.Runtime.Blazor" Version="1.0.1" />
<PackageVersion Include="Helpgenai.Runtime.Blazor" Version="1.0.1" />
<PackageReference Include="Helpgenai.Runtime.Blazor" />
paket add Helpgenai.Runtime.Blazor --version 1.0.1
#r "nuget: Helpgenai.Runtime.Blazor, 1.0.1"
#:package Helpgenai.Runtime.Blazor@1.0.1
#addin nuget:?package=Helpgenai.Runtime.Blazor&version=1.0.1
#tool nuget:?package=Helpgenai.Runtime.Blazor&version=1.0.1
Helpgenai.Runtime.Blazor
License: Polyform Free Trial 1.0.0. Free to evaluate for 32 consecutive days from first install. After that, any continued use (commercial, internal, personal — all of it) requires a paid license. Contact
chrisadam059@gmail.com. SeeLICENSE.
The Blazor runtime that displays help bundles produced by the helpgenai engine. Drop this NuGet package into your Blazor Server (or hybrid) app and you can render any helpgenai-generated page — metadata, prose, typed reference panels, screenshots, search, an in-app editor, and an admin settings UI — without hand-authoring help UI per page.
The visual language is Stripe / Mintlify editorial: white
surface, narrow reading column (720px), section panels with subtle
borders, a sticky right-side TOC, lightbox-able screenshots, and a
muted accent palette. The runtime ships its own CSS scoped to
.help-runtime and does not depend on the host app's framework
(Bootstrap, Tailwind, etc.) — your help pages look the same
regardless of what your host app uses.
This package is closed-source proprietary. Commercial use
requires a license. See LICENSE in the package root or email
chrisadam059@gmail.com.
Install
dotnet add package Helpgenai.Runtime.Blazor
The package depends on the helpgenai
npm engine, which you install in your help workspace separately:
cd tools/helpgen
npm i helpgenai
What the package ships
Display components:
MarkdownHelpContent— renders a page's.mdcontent with per-section editing support.Components/Panels/IconLegendPanel— rendersicons.jsonas an editorial reference table.Components/Panels/CellStatesPanel— renderscell-states.jsonas a grouped state reference.Components/Panels/StatusReferencePanel— renders status enums.
Editing components:
Components/GuidanceEditorModal— page-level + per-section AI authoring direction.Components/Admin/HelpAdminPanel— admin settings UI (edithelpmap.yaml,styleguide.yaml,hints/*.yaml,CONTENT-STYLE.mdwithout touching files).
Services:
IHelpContentLocator+FileSystemHelpContentLocatorIHelpConfigService+FileSystemHelpConfigServiceIHelpGuidanceService+HelpGuidanceServiceIHelpEditAuthorizer(you implement; gates all editing)HelpSectionEditor,HelpMapService,PageHelpState
Static assets:
_content/Helpgenai.Runtime.Blazor/css/page-help.css_content/Helpgenai.Runtime.Blazor/js/page-help.js
Minimal wiring (Blazor Server)
// Program.cs
using Helpgen.Runtime.Blazor.Services;
builder.Services.AddSingleton<IHelpContentLocator>(sp =>
{
var env = sp.GetRequiredService<IWebHostEnvironment>();
var helpgenRoot = Path.GetFullPath(
Path.Combine(env.ContentRootPath, "tools", "helpgen"));
return new FileSystemHelpContentLocator(env.WebRootPath, helpgenRoot);
});
builder.Services.AddSingleton<IHelpGuidanceService, HelpGuidanceService>();
builder.Services.AddSingleton<IHelpConfigService>(sp =>
{
var env = sp.GetRequiredService<IWebHostEnvironment>();
var helpgenRoot = Path.GetFullPath(
Path.Combine(env.ContentRootPath, "tools", "helpgen"));
return new FileSystemHelpConfigService(helpgenRoot);
});
builder.Services.AddScoped<IHelpEditAuthorizer, MyHelpEditAuthorizer>();
builder.Services.AddScoped<PageHelpState>();
builder.Services.AddScoped<HelpMapService>();
<link rel="stylesheet" href="_content/Helpgenai.Runtime.Blazor/css/page-help.css" />
<script src="_content/Helpgenai.Runtime.Blazor/js/page-help.js"></script>
@* Components/Pages/HelpPageView.razor *@
@page "/help/{PageKey}"
@using Helpgen.Runtime.Blazor.Components
<div class="help-runtime">
<div class="help-page">
<MarkdownHelpContent PageKey="@PageKey" EditMode="@_editMode" />
@* Plus your own section dispatch for icon-legend / cell-states / etc. *@
</div>
</div>
See the examples/blazor-todo
app for complete wiring including the help index page,
/help/_admin/settings route, and Razor route constraints.
Compatibility
- .NET 8 target. .NET 9+ should work but isn't tested.
- Pairs with
helpgenaiengine0.2.x. The engine version and runtime major version track each other. - Blazor Server only today; WASM + Maui Hybrid need an HTTP-fetching
IHelpContentLocatorthat doesn't ship yet.
Contract
- The runtime READS files at paths the locator resolves to.
- The runtime WRITES guidance files (
IHelpGuidanceService.Write*Async), prose edits (HelpSectionEditor), and admin-edited YAML (IHelpConfigService.Save*Async) directly to disk — all Blazor Server only. - The runtime does NOT call any LLM, run the build, or capture screenshots. Those are the engine + your chosen LLM host's job.
Links
- Engine on npm: https://www.npmjs.com/package/helpgenai
- Reference Claude Code host: https://www.npmjs.com/package/helpgenai-host-claude-code
- Repo (private): contact
chrisadam059@gmail.comfor source access
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Markdig (>= 0.37.0)
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.25)
- Microsoft.AspNetCore.Components.Web (>= 8.0.25)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- YamlDotNet (>= 16.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.