Kododo.Reiho.AspNetCore
0.0.8
See the version list below for details.
dotnet add package Kododo.Reiho.AspNetCore --version 0.0.8
NuGet\Install-Package Kododo.Reiho.AspNetCore -Version 0.0.8
<PackageReference Include="Kododo.Reiho.AspNetCore" Version="0.0.8" />
<PackageVersion Include="Kododo.Reiho.AspNetCore" Version="0.0.8" />
<PackageReference Include="Kododo.Reiho.AspNetCore" />
paket add Kododo.Reiho.AspNetCore --version 0.0.8
#r "nuget: Kododo.Reiho.AspNetCore, 0.0.8"
#:package Kododo.Reiho.AspNetCore@0.0.8
#addin nuget:?package=Kododo.Reiho.AspNetCore&version=0.0.8
#tool nuget:?package=Kododo.Reiho.AspNetCore&version=0.0.8
Reiho.AspNetCore
Lightweight request/handler abstraction for ASP.NET Core Minimal APIs, plus a helper for serving embedded SPAs.
Install
dotnet add package Kododo.Reiho.AspNetCore
Request / Handler
// Define
public sealed record GetUser(int Id) : IRequest<UserDto>;
// Handle
public sealed class GetUserHandler : IRequestHandler<GetUser, UserDto>
{
public Task<UserDto> HandleAsync(GetUser request, CancellationToken ct)
=> Task.FromResult(new UserDto { Id = request.Id });
}
// Register & map
builder.Services.AddRequestHandlers();
app.MapGroup("/api").MapRequests(typeof(Program).Assembly);
// → POST /api/GetUser
Requests without a return value use IRequest / IRequestHandler<T> and return 204 No Content.
Request body behaviour
| Situation | Result |
|---|---|
| Body present | Deserialized from JSON |
| No body, parameterless constructor exists | Empty instance created |
| No body, no parameterless constructor | 400 Bad Request |
Embedded SPA
Serve a bundled SPA from embedded resources with automatic base path injection:
app.MapEmbeddedSpa("/ui", Assembly.GetExecutingAssembly(), "Frontend/dist")
.RequireAuthorization();
Add to your .csproj:
<EmbeddedResource Include="Frontend\dist\**\*" />
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
Place __BASE_PATH__ in your index.html — replaced at runtime with the actual mount path. rootPath defaults to "SPA/dist".
Links
| 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 is compatible. 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 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Kododo.Reiho.AspNetCore:
| Package | Downloads |
|---|---|
|
Kododo.ConfigWay.UI
Embedded web UI for ConfigWay. Adds a React-based editor served directly from the host application, in Way.Shell — no separate deployment required. |
|
|
Kododo.Way.Shell
Shared UI shell for Kododo Way libraries (ConfigWay, CultureWay, RunWay, LogWay): one layout, theme, language and React for every Way in an app, and an optional panel with all of them. |
|
|
Kododo.CultureWay.UI
Embedded web UI for CultureWay. Adds a React-based localization editor served directly from the host application, so no separate deployment is needed. |
|
|
Kododo.RunWay.Dashboard
Embedded web dashboard for RunWay. Inspect job statuses, audit timelines, and runner health directly from your ASP.NET Core application. |
|
|
Kododo.Reiho.AspNetCore.Mcp
Offers Reiho requests as tools to AI agents over the Model Context Protocol. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.1 | 489 | 10/16/2026 |
| 2.1.0 | 120 | 10/16/2026 |
| 2.0.0 | 147 | 10/14/2026 |
| 1.0.1 | 119 | 10/12/2026 |
| 1.0.0 | 521 | 5/6/2026 |
| 1.0.0-alpha.4 | 85 | 4/30/2026 |
| 1.0.0-alpha.3 | 82 | 4/30/2026 |
| 1.0.0-alpha.1 | 95 | 4/29/2026 |
| 0.0.10 | 157 | 4/17/2026 |
| 0.0.9 | 126 | 4/16/2026 |
| 0.0.8 | 133 | 4/16/2026 |
| 0.0.7 | 152 | 4/11/2026 |
| 0.0.4 | 135 | 4/10/2026 |
| 0.0.3 | 131 | 3/17/2026 |
| 0.0.2 | 132 | 3/17/2026 |
| 0.0.1 | 137 | 3/12/2026 |