Interactive Extensions Async Providers Library used to build query providers and express queries over async enumerable sequences.
Process async tasks over IEnumerable and IAsyncEnumerable sources with controlled concurrency: one at a time, batched, bounded parallel, timed rate limited (e.g. requests per second), or fully parallel. Fluent API with streaming results, exception fidelity, cancellation and disposal support.
Extensions for method chaining Task<IEnumerable<T>>. Directly map to synchronous System.Linq methods.
Create and compose complex asynchronous behavior in .Net.
Easy-to-use library for common async IO file system operations. Implemented operations are fully asynchronous and do not use threads from thread pool. AsyncIO provides decent control over async execution (e.g. support of CancellationToken) and provides API for specifying encoding.
Core interfaces and utilities that support the DistributedLock.* family of packages
An async-based GitHub API client library for .NET and .NET Core
IAsyncEnumerable interface definition, and some LINQ function for it
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
Async signaling library for .NET to help build real-time, multi-user interactive web applications.
A set of Roslyn analyzers for diagnostic/fix of various asynchronous practices.
"[TestMethod] async void MyTest()" actually works correctly.
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio). This package contains only the library, without a dependency on the analyzers. Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together.
FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.
StackExchange.Redis.Extensions is a library that extends StackExchange.Redis with higher-level APIs for common application scenarios. Compatible with StackExchange.Redis 2.x and 3.x. Features: - Store and retrieve complex .NET objects with pluggable serialization - Connection pooling with LeastLoaded and RoundRobin strategies - Pub/Sub messaging with typed handlers and error logging - Redis Streams with consumer group support - GeoSpatial indexes (GEOADD, GEOSEARCH, GEODIST) - HyperLogLog for probabilistic cardinality estimation - Distributed locking with IAsyncDisposable auto-release - Bitmap operations for analytics and feature flags - Lua scripting for atomic server-side operations - Hash field expiry (Redis 7.4+ HEXPIRE/HSETEX) - Transparent compression (LZ4, Snappy, Zstd, GZip, Brotli) - Azure Managed Identity support - ASP.NET Core DI integration - Multiple named Redis instances - Tags, Sets, Lists, Sorted Sets, key search Serializer packages (pick one): System.Text.Json, Newtonsoft, MemoryPack, MsgPack, Protobuf, ServiceStack, Utf8Json.
A simple helper to perform async application initialization for the generic host in .NET 6.0 or higher.
Normally when you look at Exception.StackTrace, it looks pretty bad for async method calls, and doesn't even include line numbers when it's run on a device like Phone which lacks PDBs. This package provides an alternative, Exception.StackTraceEx(), which has cleaned up async output, and which gives line and file numbers even on phone. This way, if your app crashes, you can synthesize much better crash reports for the user to email back to you. Await DownloadAsync(url).Log() To get that richer information in exception stack-traces, you have to augment your "await expr" calls with "await expr.Log()", as shown above. Await DownloadAsync(url).Log("DownloadAsync",url) If you chose to include more information, then the exception stack traces you get will be even richer and more actionable.
Provides extension for Rebus that enables "synchronous" (via async/await) request/response
This Package contains a helper async builder that allow building AsyncEnumerable from Paged datasource and list of tasks
Async .Net Chrome WebDriver and Chrome DevTools through a single connection.
Async WebDriver is base for different WebBrowser drivers
This package contains a set of lock-free thread-safe collections designed to be used asynchronously.
TPL Dataflow promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the APIs and scheduling infrastructure provided by the Task Parallel Library (TPL), and integrates with the language support for asynchrony provided by C#, Visual Basic, and F#. Supported Platforms: - .NET Framework 4.5 - Windows 8 - Windows Phone 8.1 - Windows Phone Silverlight 8 - Portable Class Libraries
SQLite-Net Extensions is a very simple ORM that provides cascade operations, one-to-one, one-to-many, many-to-one, many-to-many, inverse and text-blobbed relationships on top of the sqlite-net library.
The easiest way to analyze and fix method names for asynchronous methods.
Async Firefox Driver connects directly to Marionette and is async from this connection. No need in geckodriver.exe. AsyncFirefoxDriver implements IAsyncWebBrowserClient interfaces and can be used as AsyncWebDriver.
Introduces IAsyncEnumerable, IAsyncEnumerator, ForEachAsync(), and ParallelForEachAsync() GitHub: https://github.com/Dasync/AsyncEnumerable PROBLEM SPACE Helps to (a) create an element provider, where producing an element can take a lot of time due to dependency on other asynchronous events (e.g. wait handles, network streams), and (b) a consumer that processes those element as soon as they are ready without blocking the thread (the processing is scheduled on a worker thread instead). EXAMPLE using Dasync.Collections; static IAsyncEnumerable<int> ProduceAsyncNumbers(int start, int end) { return new AsyncEnumerable<int>(async yield => { // Just to show that ReturnAsync can be used multiple times await yield.ReturnAsync(start); for (int number = start + 1; number <= end; number++) await yield.ReturnAsync(number); // You can break the enumeration loop with the following call: yield.Break(); // This won't be executed due to the loop break above await yield.ReturnAsync(12345); }); } // Just to compare with synchronous version of enumerator static IEnumerable<int> ProduceNumbers(int start, int end) { yield return start; for (int number = start + 1; number <= end; number++) yield return number; yield break; yield return 12345; } static async Task ConsumeNumbersAsync() { var asyncEnumerableCollection = ProduceAsyncNumbers(start: 1, end: 10); await asyncEnumerableCollection.ForEachAsync(async number => { await Console.Out.WriteLineAsync($"{number}"); }); } // Just to compare with synchronous version of enumeration static void ConsumeNumbers() { var enumerableCollection = ProduceNumbers(start: 1, end: 10); foreach (var number in enumerableCollection) { Console.Out.WriteLine($"{number}"); } }
Provides an adapter from MongoDB's IAsyncCursor and IAsyncCursorSource to IAsyncEnumerable
NCalcAsync is a fully async port of the NCalc. NCalc is a fast and lightweight expression evaluator library for .NET, designed for flexibility and high performance. It supports a wide range of mathematical and logical operations. NCalc can parse any expression and evaluate the result, including static or dynamic parameters and custom functions.
A simple helper to perform async application initialization in ASP.NET Core 2.0 or higher.
A lightweight, async-safe, allocation-free one-time initialization gate. Ensures a given asynchronous initialization routine runs exactly once, even under concurrent callers, with support for cancellation, safe publication, and disposal.
Async extensions for Nils Lück's Optional library.
In .Net 4.6.2, asp.net enables developer plug in async version of SessionState module which is a good fit for the non-in-memory SessionState data store. This SessionState provider uses SQL Server as the data store and leverages async database operation to provide better scability.
FusionCache backplane for Redis based on the StackExchange.Redis library
StackExchange.Redis.Extensions is a library that extends StackExchange.Redis with higher-level APIs for common application scenarios. Compatible with StackExchange.Redis 2.x and 3.x. Features: - Store and retrieve complex .NET objects with pluggable serialization - Connection pooling with LeastLoaded and RoundRobin strategies - Pub/Sub messaging with typed handlers and error logging - Redis Streams with consumer group support - GeoSpatial indexes (GEOADD, GEOSEARCH, GEODIST) - HyperLogLog for probabilistic cardinality estimation - Distributed locking with IAsyncDisposable auto-release - Bitmap operations for analytics and feature flags - Lua scripting for atomic server-side operations - Hash field expiry (Redis 7.4+ HEXPIRE/HSETEX) - Transparent compression (LZ4, Snappy, Zstd, GZip, Brotli) - Azure Managed Identity support - ASP.NET Core DI integration - Multiple named Redis instances - Tags, Sets, Lists, Sorted Sets, key search Serializer packages (pick one): System.Text.Json, Newtonsoft, MemoryPack, MsgPack, Protobuf, ServiceStack, Utf8Json.
FusionCache serializer based on Newtonsoft Json.NET
The Transient Fault Handling Application Block for Windows Azure ("Topaz") provides a set of reusable and testable components for adding retry logic into your Windows Azure applications leveraging Windows Azure SQL Database, Windows Azure storage, Service Bus and Caching Service. This makes your Windows Azure application more reliable and resilient to transient faults (such as temporary network connectivity issues or temporary service unavailability). This improves overall application stability.