Appendix A. Legacy Platform Support
Many of the technologies discussed in this book have some support for older platforms as well. If you’re in the unfortunate situation where you need to support these platforms, the information in this appendix may help you determine which technologies are available. Using these technologies on older platforms isn’t ideal; and even if you get it working, bear in mind that the only long-term solution is to update the platform target for your code. This appendix is intended mainly as a historical reference and not as a recommendation; that said, maintainers of old code may find it useful.
Table A-1 summarizes the support of legacy platforms for different techniques.
| Platform | async | Parallel | Reactive | Dataflow | Concurrent collections | Immutable collections |
|---|---|---|---|---|---|---|
.NET 4.5 |
✓ |
✓ |
NuGet |
NuGet |
✓ |
NuGet |
.NET 4.0 |
NuGet |
✓ |
NuGet |
✗ |
✓ |
✗ |
Windows Phone Apps 8.1 |
✓ |
✓ |
NuGet |
NuGet |
✓ |
NuGet |
Windows Phone SL 8.0 |
✓ |
✗ |
NuGet |
NuGet |
✗ |
NuGet |
Windows Phone SL 7.1 |
NuGet |
✗ |
NuGet |
✗ |
✗ |
✗ |
Silverlight 5 |
NuGet |
✗ |
NuGet |
✗ |
✗ |
✗ |
Legacy Platform Support for Async
If you need async support on older legacy platforms, install the NuGet package for Microsoft.Bcl.Async.
Warning
Do not use Microsoft.Bcl.Async to enable async code on ASP.NET running on .NET 4.0! The ASP.NET pipeline was updated in .NET 4.5 to be async-aware, and you must use .NET 4.5 or newer for async ASP.NET projects. Microsoft.Bcl.Async is only for non-ASP.NET applications.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access