Skip to main content
MarkCiliaVincenti avatar

MarkCiliaVincenti

12 packages

Author Trust

Growing75/100
12
Packages
24.9M
Total DLs
Sort:

12 packages

AsyncKeyedLock package icon

AsyncKeyedLock

Mark Cilia Vincenti

An asynchronous .NET library that allows you to lock based on a key (keyed semaphores), limiting concurrent threads sharing the same key to a specified number, with optional pooling for reducing memory allocations.

24.4M83 versionsasync, lock, key +8
Backport.System.Threading.Lock package icon

Backport.System.Threading.Lock

Mark Cilia Vincenti

A micro-library that backports/polyfills .NET 9.0+'s System.Threading.Lock to prior framework versions (from .NET Framework 3.5 up to .NET 8.0), providing as much backward compatibility as possible. Optionally works as a source generator.

222.9K18 versionsSystem.Threading.Lock, lock, backport +9
DeterministicGuids package icon

DeterministicGuids

Mark Cilia Vincenti

A small, allocation-conscious, thread-safe .NET utility for generating name-based deterministic UUIDs (a.k.a. GUIDs) using RFC 9562 v3 (MD5), v5 (SHA-1) and v8 (SHA-256).

137.4K15 versionsguid, uuid, deterministic +7
OpenWeatherMap.Cache package icon

OpenWeatherMap.Cache

Mark Cilia Vincenti

An asynchronous .NET library that allows you to fetch & cache current weather readings from the OpenWeather API, with built-in resiliency that can extend the cache lifetime in case the API is unreachable.

77.8K103 versionsOpenWeather, OpenWeatherMap, cache +5
TlsCertificateLoader package icon

TlsCertificateLoader

Mark Cilia Vincenti

A .NET library for loading of TLS/SSL (HTTPS) certificates for .NET 6.0+ Kestrel web applications, allowing for refreshing of certificates as well as compatibility with HTTP/3. Includes optional middleware for using certificates obtained by Certbot.

35.2K32 versionsHTTPS, TLS, SSL +18
ThreadSafeRandomizer package icon

ThreadSafeRandomizer

Mark Cilia Vincenti

An efficient thread-safe randomizer that can optionally be used as a source generator.

21.5K14 versionsrandom, randomizer, randomiser +5
ListShuffle package icon

ListShuffle

Mark Cilia Vincenti

Thread-safe list shuffle extension library, using Fisher-Yates shuffle and optional cryptographically-strong random.

21.0K20 versionslist, shuffle, shuffler +6
ResilientSaveChanges.EFCore package icon

ResilientSaveChanges.EFCore

Mark Cilia Vincenti

A library that allows resilient context.SaveChanges / SaveChangesAsync in Entity Framework Core, logging of long-running transactions and limiting of concurrent SaveChanges.

16.4K30 versionsresilient, resiliency, efcore +2
NetworkPorts package icon

NetworkPorts

Mark Cilia Vincenti

Constants for commonly-used network ports.

15.9K14 versionsports, network, common +5
SemaphoreSlimThrottling package icon

SemaphoreSlimThrottling

Mark Cilia Vincenti

A .NET library that provides a class that uses SemaphoreSlim but allows a negative initialCount. This could be used, for example, when starting to throttle requests but initially already have more concurrent requests than the maximum you want to start allowing.

14.4K28 versionsSemaphore, SemaphoreSlim, throttling +4
ReadHeavyCollections package icon

ReadHeavyCollections

Mark Cilia Vincenti

A dictionary and a set that offer very fast read speed in expense of slow write speed. Ideal in situations where the collection is infrequently updated but is very often read from.

3.7K13 versionsdictionary, set, hashset +3
FrameworkCompatibleVersions package icon

FrameworkCompatibleVersions

Mark Cilia Vincenti

An MSBuild Project SDK that applies target-framework-aware floating NuGet versions to consumer-selected PackageVersion and PackageReference items.

3251 versionmsbuild, nuget, dependencies +3