Sylin.Koan.Core 1.0.2

dotnet add package Sylin.Koan.Core --version 1.0.2
                    
NuGet\Install-Package Sylin.Koan.Core -Version 1.0.2
                    
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="Sylin.Koan.Core" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sylin.Koan.Core" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Sylin.Koan.Core" />
                    
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 Sylin.Koan.Core --version 1.0.2
                    
#r "nuget: Sylin.Koan.Core, 1.0.2"
                    
#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 Sylin.Koan.Core@1.0.2
                    
#: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=Sylin.Koan.Core&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Sylin.Koan.Core&version=1.0.2
                    
Install as a Cake Tool

Sylin.Koan.Core

The always-present Koan substrate for module composition, host lifecycle, logical context, provider catalogs, readiness, service discovery, runtime facts, and build provenance.

Applications normally reference Sylin.Koan or Sylin.Koan.App, which bring Core transitively. Reference Core directly when authoring a Koan module, provider, projection, or host integration.

Install

dotnet add package Sylin.Koan.Core

Meaningful use

A module is an ordinary class. Its identity and version derive from standard package/assembly facts; module authors do not declare a Koan ID or descriptor.

using Koan.Core;
using Microsoft.Extensions.DependencyInjection;

public sealed class BillingModule : KoanModule
{
    public override void Register(IServiceCollection services)
        => services.AddSingleton<InvoiceService>();
}

When an application calls AddKoan(), the generated host constitution retains one module instance across registration, ordered startup, provenance, and composition reporting. Referencing Core alone does not activate an application capability beyond this substrate.

Core also provides:

  • KoanContext and IKoanContextCarrier for immutable logical-flow meaning and explicit durable carriage;
  • one memoized provider catalog and priority model used by concern-owned election pipelines;
  • generic adapter readiness, initialization, monitoring, and operation gating;
  • service-description and discovery contracts shared by runtime providers and external topology tooling;
  • IKoanRuntimeFacts and KoanFactJson, the redacted envelope shared by startup, health, Web, and MCP;
  • AppHost ownership for terse framework surfaces that must reach the current Koan host; and
  • transitive build targets that emit koan.lock.json, direct-reference provenance, semantic activation manifests, and trimming roots for executable consumers.

Inspection and correction

Keep the checked-in koan.lock.json under review. It records static application/module identity and direct package or project intent; negotiated runtime decisions remain in startup output, runtime facts, and obj/koan.lock.resolved.json.

Required host-backed operations fail with KoanHostContextException, distinguishing an absent host, disposed host, and missing service while naming the operation and correction. Incomplete runtime facts are Complete=false and must never be interpreted as implicit success.

Boundaries and failures

  • Core is mechanism, not a business capability. It does not select a data store, transport, web projection, observability exporter, container engine, or AI provider.
  • Put immutable module-owned meaning in KoanContext; keep services, mutable state, and disposable resources in DI.
  • Context carriage format validation is not authentication, confidentiality, or authorization. Ingress must state trust and insufficient trust fails before user work.
  • Runtime facts exclude arbitrary configuration values, payloads, stack traces, and raw exceptions, but still expose topology identities and require an operational access boundary.
  • Application code should prefer constructor injection. AppHost.GetRequiredService is for terse framework surfaces and advanced hosting seams.
  • Core's generic provider/readiness mechanisms do not own concern policy. Data owns schema recovery, Communication owns lane guarantees, and each pillar owns its selection and failure semantics.

See TECHNICAL.md for lifecycle, context, facts, provider-catalog, and build-target contracts.

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

Showing the top 5 NuGet packages that depend on Sylin.Koan.Core:

Package Downloads
Sylin.Koan.Data.Abstractions

Provider-neutral Koan data contracts for Entity identity, repositories, structured queries, capabilities, and canonical operations.

Sylin.Koan.Data.Core

Entity data runtime for Koan: provider election, routing, lifecycle, queries, paging, relationships, and canonical operations.

Sylin.Koan.Cache.Abstractions

Shared cache contracts for the Koan framework: policies, builders, serializers, and capability descriptors.

Sylin.Koan.Web

Controller-first ASP.NET Core projection for Koan Entities with health, startup composition, and redacted runtime facts.

Sylin.Koan.Core.Adapters

Unified adapter framework for Koan: base classes, capability system, orchestration bridge, and development templates.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 76 8/18/2026
1.0.0 641 8/14/2026
0.20.7 595 7/30/2026
0.20.6 223 7/24/2026
0.20.5 1,910 7/22/2026
0.20.4 532 7/21/2026
0.17.0 1,105 6/12/2026
0.8.0 1,008 5/16/2026