/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

gist.github.com
| | aaronluna.dev

The Task-based Asynchronous Pattern (TAP) is the recommended way to write asynchronous code for .NET applications. As I explained in my last post, TAP is intended to replace the Asynchronous Programming Model (APM) and the Event-based Asynchronous Pattern (EAP), however many classes in the .NET framework still use these older patterns. Fortunately, these can be turned into TAP-style "awaitable" methods with relative ease. By doing so, you reap the benefits that come from working with Task (and Task) objects. In this post, I will convert a set of APM-style methods from the System.Net.Sockets namespace to TAP methods and provide an end-to-end example of how to use them in a generic TCP socket server.
0.1 parsecs

Travel
| |
| | www.github.com

my blog, with astro. Contribute to Krayorn/blog development by creating an account on GitHub.
2.5 parsecs

Travel
| |
| | cupano.com

My Blog Posts. Contribute to joecupano/blog development by creating an account on GitHub.
2.6 parsecs

Travel
| |
| | www.javaadvent.com

Your first steps into the world of Java bytecode using ProGuardCORE
13.3 parsecs

Travel
|