QUIC implementation for .NET with pure rust, up-to-date, QUIC implementation by Quinn.
This library is very new and in active development, dont use it yet
Dot Quic does requires a build of quinn FFI Rust library
- Add Dot Quic as dependency to your project (nuget).
- Find the right release build for your platform, and download the dll.
- Put the dll into project
bin/Debug
orbin/Release
file.
C# does not yet have a native, up-to-date, QUIC implementation. MsQuic its API will likely be exposed in .Net 7.0 API which is expected around November 2022. Therefore the .Net ecosystem will have to wait for some time for being able to use QUIC protocol.
So why write a implementation on top of rust?
- Rust is save language like C# and is statically typed that guarantees memory safety with zero cost abstractions, without involving a garbage collector.
- MsQuic is written with unsafe C code.
- MsQuic will be integrated in .NET 7.0 so its wasted effort trying to build just that.
- Quinn is a very up to date protocol that is constantly being aligned with the latest drafts.
- Wirting QUIC in pure C# will be a lot of work, therefore levering an existing implementation could be a good solution for now.