.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:
- Buffer manipulations
- String building
- Monadic types
- Advanced GC notifications
- Low-level API to work with memory: alignment detection, type-safe unmanaged allocators, Span<T> manipulations
- Base64 streaming encoder/decoder
- Async-friendly SIEVE cache
- Async locks
- Extended LINQ Expression Trees and dynamic code generation tools with async lambdas for metaprogramming
- Raft Consensus Algorithm with extensions such as the failure detection
- Fast general-purpose Write Ahead Log
- TCP multiplexing protocol
- HyParView protocol implementation
All these things are implemented in 100% managed code on top of existing .NET API.
.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 structuresdotnext-memory- allocation-free memory routines, buffer writers, memory pooling
To install:
Claude Code:
/plugin marketplace add dotnet/dotNext
/plugin install dotnext-skills@dotnextCodex:
codex plugin marketplace add dotnet/dotNext
codex plugin add dotnext-skills@dotnextAny agent supporting Agent Skills, via skills CLI:
npx skills add dotnet/dotNextAlternatively, 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.
Release Date: 11-30-2026
- Improved performance of
Span.MoveandSpan.Swapextensions - Fixed
Span.Swapedge cases SpanOwner<T>now respectsDotNext.Buffers.MemoryAllocator.Default.UseArrayPoolfeature switch- Fixed lost writes in
UserDataStoragewhen the storage grows to a new type - Fixed stray thread interruption in synchronous
ValueTaskwait - Fixed race condition in
BlockingOperationscancellation via thread interruption
DotNext.Metaprogramming 6.15.0
- Updated dependencies
- Improved performance of
UnmanagedMemoryPool<T>when allocation tracking is enabled
- Added
LeaseProvider<TKey, TMetadata>.Forgetmethod to cancel the lease tracking
- Performance and functional fixes in
FileBufferingWriterclass - Introduced ReadExactly extension method for RandomAccess class
- Fixed incorrect chars decoding + detect incorrect length in the stream
- Optimized
PipeExtensions.ReadAtLeastAsyncmethod - Fixed decoding of UTF-8 sequences when a small buffer is supplied
- Don't allocate memory for length-prefixed data before it arrives
- Stop copying from a stream when the pipe reader has completed
- Fixed loss of encoder state when encoding strings without a length prefix
- Report too small buffer consistently in
StreamExtensionsclass - Fixed
PoolingBufferedStreambuffer management - Fixed
StreamSegmentlength management and disposal - Fixed
IAsyncBinaryWriterimplementation inFileWriterclass - Fixed buffer leak in
SequenceReader,PipeExtensions, andFileReaderclasses - Fix lost cancellation in PipeReader decoding helpers
WriteAheadLogrecovers correctly from crash if partition file wasn't flushed, so the file on disk is empty- Fix flow control, stream rejection and connection handling in multiplexing protocol. The change bumps the protocol version:
- Window updates (
AdjustWindow) are sent and applied after one side has finished sending PauseWriterThreshold = 0is rejected byMultiplexingOptions.BufferOptions- Full backlog actually rejects the stream on the server side
- A rejected client stream stops sending its outbound data
- The protocol drops frames for an unknown or rejected stream correctly
- Window updates (
DotNext.AspNetCore.Cluster 6.15.0
- Updated dependencies
DotNext.MaintenanceServices 1.15.0
- Updated dependencies
Changelog for previous versions located here.
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
Philosophy of development process:
- All libraries in .NEXT family are available for various .NET form factors: Mono, WASM, NativeAOT
- Minimal set of dependencies
- Provide high-quality documentation
- Stay cross-platform
- Provide benchmarks
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.