Skip to content

TimonPost/dot-quic

Repository files navigation

Dot Quic - QUIC for .NET

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

Setup

Dot Quic does requires a build of quinn FFI Rust library

  1. Add Dot Quic as dependency to your project (nuget).
  2. Find the right release build for your platform, and download the dll.
  3. Put the dll into project bin/Debug or bin/Release file.

Why

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?

  1. Rust is save language like C# and is statically typed that guarantees memory safety with zero cost abstractions, without involving a garbage collector.
  2. MsQuic is written with unsafe C code.
  3. MsQuic will be integrated in .NET 7.0 so its wasted effort trying to build just that.
  4. Quinn is a very up to date protocol that is constantly being aligned with the latest drafts.
  5. Wirting QUIC in pure C# will be a lot of work, therefore levering an existing implementation could be a good solution for now.

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages