Claudalisk.Modules 0.1.0-alpha.4

This is a prerelease version of Claudalisk.Modules.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Claudalisk.Modules --version 0.1.0-alpha.4
                    
NuGet\Install-Package Claudalisk.Modules -Version 0.1.0-alpha.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="Claudalisk.Modules" Version="0.1.0-alpha.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Claudalisk.Modules" Version="0.1.0-alpha.4" />
                    
Directory.Packages.props
<PackageReference Include="Claudalisk.Modules" />
                    
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 Claudalisk.Modules --version 0.1.0-alpha.4
                    
#r "nuget: Claudalisk.Modules, 0.1.0-alpha.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 Claudalisk.Modules@0.1.0-alpha.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=Claudalisk.Modules&version=0.1.0-alpha.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Claudalisk.Modules&version=0.1.0-alpha.4&prerelease
                    
Install as a Cake Tool

Claudalisk.Modules

IModule, AddClaudaliskModules and the module catalog. A module registers its own services and names the other modules it needs through marker classes.

Validation

AddClaudaliskModules validates every module, including those from earlier calls, before it registers anything. It throws an InvalidOperationException naming the module type when:

  • a Contract or a dependency is not a sealed, non-abstract class
  • Dependencies is null, or contains a null entry
  • a dependency is not provided by any module
  • the dependencies form a cycle
  • two different module types provide the same Contract, even when no module depends on it
  • a module's ConfigureServices calls AddClaudaliskModules, directly or indirectly

Behaviour to know

  • If a module's ConfigureServices throws, the modules registered before it and its own partial services stay registered. Fail startup instead of retrying.
  • The marker check accepts any sealed, non-abstract class. It does not verify that the class is empty.
  • Contract, Description and Dependencies are default interface members. A module that derives from a base class implementing IModule must redeclare IModule, or the base must declare the members virtual, for the module's own properties to be seen.
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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net11.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Claudalisk.Modules:

Package Downloads
Claudalisk.AspNetCore

What every Host needs: one Problem Details handler, conditional writes, HAL members, the health endpoint and module tags in the OpenAPI document.

Claudalisk.Dispatching

The in-process dispatcher: handlers found through module registration and a pipeline of logging, validation and the unit of work.

Claudalisk.Jobs

Queued work as jobs: queueing in the unit of work, workers with retries, heartbeats, cancel and progress, batch jobs, event fan-out and the jobs router.

Claudalisk.Scheduling

Cron schedules from configuration that queue commands as jobs of the scheduler's own jobs module, once per scheduled time.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.5 96 11/24/2026
0.1.0-alpha.4 178 11/22/2026
0.1.0-alpha.3 90 11/22/2026
0.1.0-alpha.2 93 11/21/2026
0.1.0-alpha.1 691 11/8/2026