Skip to main content
Dasync avatar

Dasync

NuGet publisher profile

Packages
27
Total Downloads
33.3M
33,332,292

Packages (27)

AsyncEnumerator package icon

AsyncEnumerator

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(

quot;{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(
quot;{number}"); } }

32.7M
downloads
Dasync.AspNetCore package icon

Dasync.AspNetCore

HTTP fabric for ASP.NET Core applications

280.3K
downloads
Dasync.AzureStorage package icon

Dasync.AzureStorage

Better abstractions of WindowsAzure.Storage.

217.3K
downloads
Dasync.Serialization package icon

Dasync.Serialization

Serialization contracts for D-ASYNC.

11.8K
downloads
Dasync.ValueContainer package icon

Dasync.ValueContainer

Used by D-ASYNC serialization.

9.5K
downloads
Dasync.AsyncStateMachine package icon

Dasync.AsyncStateMachine

Used by the D-ASYNC Execution Engine.

8.6K
downloads
Dasync.Proxy package icon

Dasync.Proxy

Creates proxy classes at runtime from interfaces and classes of microservices powered by D-ASYNC.

8.5K
downloads
Dasync.Serializers.StandardTypes package icon

Dasync.Serializers.StandardTypes

Deprecated serialization assets.

8.4K
downloads
Dasync.Serialization.Json package icon

Dasync.Serialization.Json

JSON serializer for D-ASYNC.

6.8K
downloads
Dasync.EntityFrameworkCore.Extensions.Projections package icon

Dasync.EntityFrameworkCore.Extensions.Projections

Decouples the read model from entities themselves. The read model is automatically generated at runtime from given projection/view interfaces. Essentially works like views for tables in RDBMS. See the project page for examples.

3.3K
downloads
Dasync.Serialization.DasyncJson package icon

Dasync.Serialization.DasyncJson

Deprecated extended JSON serializer for D-ASYNC.

3.1K
downloads
Dasync.ExecutionEngine package icon

Dasync.ExecutionEngine

The D-ASYNC Execution Engine.

3.1K
downloads
Dasync.Fabric.AspNetCore package icon

Dasync.Fabric.AspNetCore

Binds together all necessary components to run D-ASYNC on ASP NET Core with minimal effort.

2.9K
downloads
Dasync.Accessors package icon

Dasync.Accessors

Used by the D-ASYNC Execution Engine.

2.7K
downloads
Dasync.Modeling package icon

Dasync.Modeling

Describes microservices, their queries, commands, and events.

2.7K
downloads
Dasync.EETypes package icon

Dasync.EETypes

Contracts for the core and extensions.

2.7K
downloads
Dasync.DependencyInjection package icon

Dasync.DependencyInjection

DI-related abstractions and helpers specific to D-ASYNC infrastructure.

2.6K
downloads
Dasync.Serializers.EETypes package icon

Dasync.Serializers.EETypes

Deprecated serialization assets.

2.6K
downloads
Dasync.Hosting.AspNetCore package icon

Dasync.Hosting.AspNetCore

Hosting environment for D-ASYNC microservice ecosystem that processes HTTP requests.

2.4K
downloads
Dasync.Communication.InMemory package icon

Dasync.Communication.InMemory

In-memory communication for D-ASYNC microservices is used for development purposes.

2.4K
downloads
Dasync.Serializers.DomainTypes package icon

Dasync.Serializers.DomainTypes

Deprecated serialization assets.

2.1K
downloads
Dasync.Communication.Http package icon

Dasync.Communication.Http

A client for commands and queries over HTTP (no events). Requires an HTTP hosting on the server side.

2.0K
downloads
Dasync.Fabric.InMemory package icon

Dasync.Fabric.InMemory

Binds together all necessary components to run D-ASYNC in-memory for advanced development purposes.

1.9K
downloads
Dasync.Persistence.InMemory package icon

Dasync.Persistence.InMemory

In-memory state persistence for D-ASYNC microservices is used for development purposes.

1.9K
downloads
Dasync.Communication.RabbitMQ package icon

Dasync.Communication.RabbitMQ

Enables use of RabbitMQ queues to execute commands and queries, and exchanges to publish and listen to events between microservices powered by D-ASYNC.

1.8K
downloads
Dasync.Persistence.Cassandra package icon

Dasync.Persistence.Cassandra

Cassandra provides high availability and scalability state storage for D-ASYNC microservices.

1.8K
downloads
Dasync.Persistence.FileSystem package icon

Dasync.Persistence.FileSystem

File System-based state persistence for D-ASYNC microservices is useful with NAS drives.

580
downloads