Skip to content

Repository files navigation

.NEXT

Build Status License Test Coverage CodeQL Ask DeepWiki

.NEXT (dotNext) is a set of powerful libraries designed for high-performance scenarios when your application expects near zero memory allocation and high flexibility. It is aimed to high-load microservices, database engines, actors, and various types of distributed applications. The feature list includes a rich set of efficient tools with low overhead:

All these things are implemented in 100% managed code on top of existing .NET API.

Quick Links

AI Agent Skills

.NEXT provides Agent Skills that teach AI coding agents (Claude Code, Codex, GitHub Copilot, Cursor and others) how to use the libraries efficiently:

  • dotnext-core - Optional and Result monads, timestamps, type maps, console app lifetime, etc.
  • dotnext-threading - asynchronous programming, async locks, etc.
  • dotnext-concurrency - concurrent data structures
  • dotnext-memory - allocation-free memory routines, buffer writers, memory pooling

To install:

Claude Code:

/plugin marketplace add dotnet/dotNext
/plugin install dotnext-skills@dotnext

Codex:

codex plugin marketplace add dotnet/dotNext
codex plugin add dotnext-skills@dotnext

Any agent supporting Agent Skills, via skills CLI:

npx skills add dotnet/dotNext

Alternatively, copy the skill folders from ai/plugins/dotnext-skills/skills to the skills directory of your agent, e.g. .claude/skills/ for Claude Code, or .agents/skills/ for Codex and GitHub Copilot.

What's new

Release Date: 10-13-2026

A set of skills for AI agents has been released: skills explain how to use .NEXT libraries in a new project or migration scenarios.

DotNext 6.10.0

  • Added conversion from TypedReference to Variant data type
  • Interpolation string handlers do not box enum values anymore
  • Optional<T> and other monadic types don't box the underlying value on ToString call
  • Fixed 303
  • Added static extension method for on-stack string interpolation without converting the result to string. Instead, it can be consumed as ReadOnlySpan<char>
  • Added CompositeFormat interning: IsInterned or Of static extensions can return parsed template

DotNext.Metaprogramming 6.10.0

  • Updated dependencies

DotNext.Unsafe 6.10.0

  • Added ExecutionStack with extension properties and methods for execution stack inspection

DotNext.Threading 6.10.0

  • PersistentChannel now uses system page size as default buffer size
  • Improved performance of CancellationTokenMultiplexer class

DotNext.IO 6.10.0

  • FileBufferingWriter and PoolingBufferedStream now use system page size as default buffer size
  • Introduced ModernTextReader and ModernTextWriter classes with all necessary overloads to implement text readers/writer

DotNext.Net.Cluster 6.10.0

  • Improved performance of MessagingClient and MessageHandler message dispatching

DotNext.AspNetCore.Cluster 6.10.0

  • Updated dependencies

DotNext.MaintenanceServices 1.10.0

  • Updated dependencies

Changelog for previous versions located here.

Release & Support Policy

The libraries are versioned according to Semantic Versioning 2.0.

Version .NET compatibility Support Level
0.x .NET Standard 2.0 ❌
1.x .NET Standard 2.0 ❌
2.x .NET Standard 2.1 ❌
3.x .NET Standard 2.1, .NET 5 ❌
4.x .NET 6 ❌
5.x .NET 8 ✅
6.x .NET 10 ✔️

❌ - unsupported, ✅ - bug and security fixes only, ✔️ - active development

Development Process

Philosophy of development process:

  1. All libraries in .NEXT family are available for various .NET form factors: Mono, WASM, NativeAOT
  2. Minimal set of dependencies
  3. Provide high-quality documentation
  4. Stay cross-platform
  5. Provide benchmarks

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the .NET Foundation Code of Conduct. For more information see the Code of Conduct FAQ or contact conduct@dotnetfoundation.org with any additional questions or comments.