SharpClaw.ModuleHost.InProcess
0.5.0-beta.4
dotnet add package SharpClaw.ModuleHost.InProcess --version 0.5.0-beta.4
NuGet\Install-Package SharpClaw.ModuleHost.InProcess -Version 0.5.0-beta.4
<PackageReference Include="SharpClaw.ModuleHost.InProcess" Version="0.5.0-beta.4" />
<PackageVersion Include="SharpClaw.ModuleHost.InProcess" Version="0.5.0-beta.4" />
<PackageReference Include="SharpClaw.ModuleHost.InProcess" />
paket add SharpClaw.ModuleHost.InProcess --version 0.5.0-beta.4
#r "nuget: SharpClaw.ModuleHost.InProcess, 0.5.0-beta.4"
#:package SharpClaw.ModuleHost.InProcess@0.5.0-beta.4
#addin nuget:?package=SharpClaw.ModuleHost.InProcess&version=0.5.0-beta.4&prerelease
#tool nuget:?package=SharpClaw.ModuleHost.InProcess&version=0.5.0-beta.4&prerelease
SharpClaw.ModuleHost.InProcess
SharpClaw.ModuleHost.InProcess supports the opt-in in-process .NET module
host path for SharpClaw. It loads one ISharpClawModule from module.json,
compiles its ModuleSDK contribution graph, and starts it in a collectible
assembly load context.
Out-of-process hosting is the normal SharpClaw module execution model. In-process hosting is a limited mode for hosts that deliberately enable it and can accept its tighter coupling to the host process.
InProcessModuleHost.LoadAsync validates the manifest, loads the module, and
builds its local dependency-injection provider. InProcessModuleInvoker then
passes host-issued action and event controls directly to the selected handler.
The adapter does not create substitute outcomes or another dispatch path.
using SharpClaw.ModuleHost.InProcess;
await using var host = await InProcessModuleHost.LoadAsync(moduleDirectory);
await host.StartAsync("0.5.0-beta.3");
Use one host instance for each loaded module. Dispose the host after the module stops so the runtime can collect its load context.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.8)
- SharpClaw.Contracts (>= 0.5.0-beta.7)
- SharpClaw.ModuleSDK (>= 0.5.0-beta.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SharpClaw.ModuleHost.InProcess:
| Package | Downloads |
|---|---|
|
SharpClaw.ModuleHost.OutOfProcess
Runs SharpClaw .NET modules in the default out-of-process host model over the SharpClaw foreign-module protocol. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.5.0-beta.4 | 25 | 8/15/2026 |
| 0.5.0-beta.3 | 38 | 8/14/2026 |
| 0.1.0-alpha | 5,842 | 7/5/2026 |