Cursively
H.Pipes
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cursively
-
Ask HN: Examples of Top C# Code?
I was looking at the CSV parser Cursively recently, and I think it is a good simple example of a high performance C# parser and API design.
https://github.com/airbreather/Cursively
-
The Fastest Csv Parser In Net
Agreed, and agreed. #21 and #22 seek to address this, but these have actually been very low priority for me: as your benchmarks show, if you primarily need a bunch of objects that must be UTF-16 strings, then are other libraries out there that will do the job just fine. The main reason to use Cursively for that would be if you have some use cases where you need the unusual qualities that Cursively offers, but other use cases where you can live with something more traditional, and you don't want to have two different CSV processing libraries.
The usage instructions are in the README on https://github.com/airbreather/Cursively. The most straightforward way to get started (for now) is:
H.Pipes
-
Named Pipes in .NET 6 with Tray Icon and Service
I think this is the first NamedPipes tutorial in C# that I've ever seen that doesn't do things completely wrong by using a StreamWriter or StreamReader. Of course, that's because it uses another library that wraps all the tricky bits of NamedPipes that everybody always does wrong -> https://github.com/HavenDV/H.Pipes
NamedPipes are sweet for doing same-machine IPC on Windows, that is for sure, but the built-in API is full of footguns.
What are some alternatives?
CsvExport - Very simple CSV-export tool for C#
FFmpeg.NET - .NET wrapper for common ffmpeg tasks
Sylvan - A collection of .NET libraries, including the fastest general-purpose CSV parser for .NET.
Dahomey.Json - The main purpose of this library is to bring missing features to the official .Net namespace System.Text.Json
PdfSharpCore - Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
core-admin - Fully automatic admin site CRUD UI generator for ASP.NET Core and .NET 8
AlterNats - An alternative high performance NATS client for .NET.
signalr-socket-dotnet5 - Real-time application using SignalR and .NET 5
oqtane.framework - CMS & Application Framework for Blazor & .NET MAUI
DevToAPI - Forem/DEV API Client Library for .NET
CsvBenchmarks - Benchmarks for various .NET libraries.
qatoolkit-auth-net - QAToolKit library for generating JWT access tokens from different identity providers.