"Introduces IAsyncEnumerable, IAsyncEnumerator, ForEachAsync(), and ParallelForEachAsync()GitHub: https://github.com/Dasync/AsyncEnumerablePROBLEM SPACEHelps to (a) create an element provider, where producing an element can take a lot of timedue 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 blockingthe thread (the processing is scheduled on a worker thread instead).EXAMPLEusing 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 enumeratorstatic 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 enumerationstatic void ConsumeNumbers(){ var enumerableCollection = ProduceNumbers(start: 1, end: 10); foreach (var number in enumerableCollection) { Console.Out.WriteLine($"{number}"); }}"
Library or NuGet package built with .net standard and c# by sergiis & dasync.
Project website: https://github.com/Dasync/AsyncEnumerable
Repository: https://github.com/Dasync/AsyncEnumerable.git
"Contains probability distributions, statistical models and methods such as Linear and Logistic regression, Hidden Markov Models, (Hidden) Conditional Random Fields, Prin…"
Library or NuGet package built with .net standard and c# by Accord.NET.
"MvvmCross is the .NET MVVM framework for cross-platform solutions, including Xamarin iOS, Xamarin Android, Xamarin Forms, Windows and Mac.This package contains Support C…"
Library or NuGet package built with .net standard and c# by .NET Foundation and Contributors.
"Owin implementation for ASP.NET Identity."
Library or NuGet package built with .net standard and c# by Microsoft.
"Microsoft.VisualStudio.Shell.Immutable.10.0"
Library or NuGet package built with .net standard and c# by Microsoft.
"Cross-platform socket API for Xamarin iOS/Android/Forms, Xamarin.Mac, Windows Phone 8/8.1, Windows Store, UWP and Windows Desktop. Includes support for TCP and UDP liste…"
Library or NuGet package built with .net standard and c# by Ryan Davis.
"This library provides read/write access to TeamCity Service messages. Take a look at the description of service messages at http://confluence.jetbrains.net/display/TCDL/…"
Library or NuGet package built with .net standard and c# by JetBrains.
Hello, I'm Corstiaan. I'm a software developer from the Netherlands and I manage BuiltWithDot.Net. I created this site as a place where developers working with .net technology can showcase their projects and inspire other developers.
There's so much you can build with .net these days that I thought it would be nice to have a corner of the web dedicated to the breadth of .net. Enjoy!
Get weekly updates about new projects built with .net tech
Great! Click the link in the e-mail to confirm. Check the spam folder if you can't find it.
No spam. Unsubscribe any time.
© 2025 - created by Corstiaan Hesselink - submit project - RSS feed - contact