SharpClaw.ModuleHost.InProcess 0.5.0-beta.4

This is a prerelease version of SharpClaw.ModuleHost.InProcess.
dotnet add package SharpClaw.ModuleHost.InProcess --version 0.5.0-beta.4
                    
NuGet\Install-Package SharpClaw.ModuleHost.InProcess -Version 0.5.0-beta.4
                    
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="SharpClaw.ModuleHost.InProcess" Version="0.5.0-beta.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpClaw.ModuleHost.InProcess" Version="0.5.0-beta.4" />
                    
Directory.Packages.props
<PackageReference Include="SharpClaw.ModuleHost.InProcess" />
                    
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 SharpClaw.ModuleHost.InProcess --version 0.5.0-beta.4
                    
#r "nuget: SharpClaw.ModuleHost.InProcess, 0.5.0-beta.4"
                    
#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 SharpClaw.ModuleHost.InProcess@0.5.0-beta.4
                    
#: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=SharpClaw.ModuleHost.InProcess&version=0.5.0-beta.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SharpClaw.ModuleHost.InProcess&version=0.5.0-beta.4&prerelease
                    
Install as a Cake Tool

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 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 (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