.NEXT

.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: 11-30-2026
DotNext 6.15.0
- Improved performance of
Span.Move and Span.Swap extensions
- Fixed
Span.Swap edge cases
SpanOwner<T> now respects DotNext.Buffers.MemoryAllocator.Default.UseArrayPool feature switch
- Fixed lost writes in
UserDataStorage when the storage grows to a new type
- Fixed stray thread interruption in synchronous
ValueTask wait
- Fixed race condition in
BlockingOperations cancellation via thread interruption
DotNext.Metaprogramming 6.15.0
DotNext.Unsafe 6.15.0
- Improved performance of
UnmanagedMemoryPool<T> when allocation tracking is enabled
DotNext.Threading 6.15.0
- Added
LeaseProvider<TKey, TMetadata>.Forget method to cancel the lease tracking
DotNext.IO 6.15.0
- Performance and functional fixes in
FileBufferingWriter class
- Introduced ReadExactly extension method for RandomAccess class
- Fixed incorrect chars decoding + detect incorrect length in the stream
- Optimized
PipeExtensions.ReadAtLeastAsync method
- 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
StreamExtensions class
- Fixed
PoolingBufferedStream buffer management
- Fixed
StreamSegment length management and disposal
- Fixed
IAsyncBinaryWriter implementation in FileWriter class
- Fixed buffer leak in
SequenceReader, PipeExtensions, and FileReader classes
- Fix lost cancellation in PipeReader decoding helpers
DotNext.Net.Cluster 6.15.0
WriteAheadLog recovers 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 = 0 is rejected by MultiplexingOptions.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
DotNext.AspNetCore.Cluster 6.15.0
DotNext.MaintenanceServices 1.15.0
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 |
:x: |
| 1.x |
.NET Standard 2.0 |
:x: |
| 2.x |
.NET Standard 2.1 |
:x: |
| 3.x |
.NET Standard 2.1, .NET 5 |
:x: |
| 4.x |
.NET 6 |
:x: |
| 5.x |
.NET 8 |
:x: |
| 6.x |
.NET 10 |
:heavy_check_mark: |
:x: - unsupported, :white_check_mark: - bug and security fixes only, :heavy_check_mark: - active development
Development Process
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
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 [email protected] with any additional questions or comments.
评论