Pocok.Modularity.Contracts
0.2.0-alpha.7
Prefix Reserved
dotnet add package Pocok.Modularity.Contracts --version 0.2.0-alpha.7
NuGet\Install-Package Pocok.Modularity.Contracts -Version 0.2.0-alpha.7
<PackageReference Include="Pocok.Modularity.Contracts" Version="0.2.0-alpha.7" />
<PackageVersion Include="Pocok.Modularity.Contracts" Version="0.2.0-alpha.7" />
<PackageReference Include="Pocok.Modularity.Contracts" />
paket add Pocok.Modularity.Contracts --version 0.2.0-alpha.7
#r "nuget: Pocok.Modularity.Contracts, 0.2.0-alpha.7"
#:package Pocok.Modularity.Contracts@0.2.0-alpha.7
#addin nuget:?package=Pocok.Modularity.Contracts&version=0.2.0-alpha.7&prerelease
#tool nuget:?package=Pocok.Modularity.Contracts&version=0.2.0-alpha.7&prerelease
Pocok.Modularity.Contracts
Pocok.Modularity.Contracts is the only assembly that both a host and independently deployed plugin must share.
public sealed class AcmeCodecModule : IServiceModule
{
public void ConfigureServices(IServiceCollection services, ModuleContext context)
{
services.AddSingleton<ICodec, AcmeCodec>();
}
}
Application-owned behavior contracts such as ICodec or IDeviceCommunicator should live in their own neutral contract
assemblies. The module project references those contracts plus this package, while the host references the same contract
assemblies and Pocok.Modularity.
The package deliberately excludes assembly discovery, manifests, load contexts, logging, filesystem policy, hot reload, and service location. Modules register ordinary services during startup. They are trusted in-process code, not sandboxed extensions.
| 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.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pocok.Modularity.Contracts:
| Package | Downloads |
|---|---|
|
Pocok.Modularity
Manifest-led, trusted startup plugin loading with isolated dependency resolution and standard DI registration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0-alpha.7 | 67 | 7/20/2026 |