GroupedScheduling.Build 0.1.1

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

GroupedScheduling

Attribute-driven, group-aware async scheduling for .NET with build-time IL weaving.

Mark methods with [ScheduleGroup]. Callers keep normal await / delegates / reflection — the weaver injects scheduling, nesting checks, and linked cancellation. No Fody.

Install

dotnet add package GroupedScheduling.Build

Or in the .csproj of any project that declares [ScheduleGroup] methods:

<PackageReference Include="GroupedScheduling.Build" Version="0.1.1" />

One reference brings:

Piece Role
GroupedScheduling Runtime API
Roslyn analyzers (TSCH001–005) Catch misuse at design time
MSBuild IL weaver Rewrites attributed methods after compile

Apps that only call already-woven types need the runtime (transitive) and host registration — they do not need to re-weave.

Quick start

1. Attribute methods

using GroupedScheduling;

public sealed class OrdersService
{
    [ScheduleGroup("orders", ScheduleMode.ExclusiveSerial)]
    public async Task SaveAsync(Order order, CancellationToken ct)
    {
        await _db.SaveAsync(order, ct);
    }
}

2. Call as usual

await orders.SaveAsync(order, ct);

3. Register once in the host process (graceful stop)

using GroupedScheduling.Hosting;

builder.Services.AddGroupedScheduling();

On host stop this cancels object/type tokens and rejects new scheduled work. Method authors only need [ScheduleGroup]. Callers do not need a per-call using. DI still disposes woven IDisposable instances when the container disposes them — GC does not call Dispose.

Optional: disable weaving

<PropertyGroup>
  <GroupedSchedulingWeaveEnabled>false</GroupedSchedulingWeaveEnabled>
</PropertyGroup>

Without weaving, [ScheduleGroup] has no effect (analyzer TSCH002 warns if attributes are used without imported targets).

Learn more

Topic Link
Getting started docs/getting-started.md
Modes / nesting / shutdown docs/
Diagnostics (TSCH / GSWEAVE) docs/diagnostics.md
Architecture & weaving docs/architecture.md
Sample app samples/GroupedScheduling.Sample

Requires: .NET 11 (net11.0) target for consumers of this package version.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 0 10/16/2026
0.1.0 0 10/16/2026