Project Description
A helper library for using the Task-Based Asynchronous Pattern (TAP) and Visual Studio Async CTP / Visual Studio 11. The library includes XML documentation and code contracts. It is developed in C#.
All versions use
semantic versioning.
Nito.AsyncEx is distributed in a
NuGet package that supports
source debugging.
See the
documentation tab for the API supported by this library.
Supported Platforms
.NET Framework 4.0 Client/Full Profile
Can be installed automatically using the
NuGet package; however, this build of the library also requires the dlls from the
Visual Studio Async CTP.
For this reason, I recommend using VS2010 (SP1) with the Visual Studio Async CTP for doing asynchronous development targeting .NET 4.
Silverlight 4 and 5
Can be installed automatically using the
NuGet package; however, this build of the library also requires the dlls from the
Visual Studio Async CTP.
For this reason, I recommend using VS2010 (SP1) with the Visual Studio Async CTP for doing asynchronous development targeting Silverlight.
This port does not include the following APIs:
- DataflowProgress
- ObserverProgress
- ProducerProgress
- STA-aware AsyncContext
- AsyncContextThread.Priority
- ICancelableAsync support
.NET Framework 4.5 Client/Full Profile (developer preview)
Can be installed automatically using the
NuGet package. This build of the library is standalone and does not depend on the Visual Studio Async CTP dlls.
Windows 8 Metro (developer preview)
Cannot be installed automatically because NuGet does not yet support Metro (.NETCore45). This build of the library is standalone and does not depend on the Visual Studio Async CTP dlls.
The package can be installed using the NuGet command line (from your solution directory):
nuget install Nito.AsyncEx -OutputDirectory packages
Then add a reference to
$(SolutionDir)\packages\Nito.AsyncEx.$(Version)\lib\NETCore45\Nito.AsyncEx.dllThis port does not include the following APIs:
- DataflowProgress
- STA-aware AsyncContext
- ICancelableAsync support
Windows Phone 7.0/7.1
Not supported at this time.
Roadmap
The Nito.AsyncEx library is currently in a pre-stable state (major version 0); its API may change with each Async CTP or Visual Studio 11 release.
After Visual Studio 11 is (officially) released, the Nito.AsyncEx API will become stable. Beta and preview versions of Visual Studio 11 may or may not be supported by the Nito.AsyncEx library.
I've been using Nito.AsyncEx in my own projects, but it is not yet fully tested.