Async in C# 5.0
Unleash the Power of Async
Publisher: O'Reilly Media
Final Release Date: September 2012
Pages: 108

If you’re writing one of several applications that call for asynchronous programming, this concise hands-on guide shows you how the async feature in C# 5.0 can make the process much simpler. Along with a clear introduction to asynchronous programming, you get an in-depth look at how the async feature works and why you might want to use it in your application.

Written for experienced C# programmers—yet approachable for beginners—this book is packed with code examples that you can extend for your own projects.

  • Write your own asynchronous code, and learn how async saves you from this messy chore
  • Discover new performance possibilities in ASP.NET web server code
  • Explore how async and WinRT work together in Windows 8 applications
  • Learn the importance of the await keyword in async methods
  • Understand which .NET thread is running your code—and at what points in the program
  • Use the Task-based Asynchronous Pattern (TAP) to write asynchronous APIs in .NET
  • Take advantage of parallel computing in modern machines
  • Measure async code performance by comparing it with alternatives
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAsync in C# 5.0
 
3.8

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

83%

of respondents would recommend this to a friend.

Pros

  • Accurate (5)
  • Concise (4)
  • Helpful examples (4)
  • Well-written (3)

Cons

No Cons

Best Uses

  • Intermediate (4)
    • Reviewer Profile:
    • Developer (5)

Reviewed by 6 customers

Displaying reviews 1-6

Back to top

 
5.0

Really good introduction

By Tvenstrup

from Copenhagen, Denmark

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Async in C# 5.0:

    I used the book to get a good basic understanding of how async works in C#. I have been working and using async for 1-2 years in our company, but I have now decided to get a more in depth understanding of async, so understand how it works instead of just knowing how to use it.

    This book provides really good understanding and examples and it was easy to read.

    For me it was for sure worth the price and I can for sure recommend it.

     
    4.0

    Good read about async in .NET

    By BogdanM

    from Bucharest, Romania

    About Me Developer, Educator

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Too basic

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Async in C# 5.0:

    Very good source of information about asynchronous programming in .NET. It's a little bit short, it could have been named "Introduction into Async in C# 5.0", yet again, very comprehensive source of information.

    (0 of 1 customers found this review helpful)

     
    4.0

    Review of Async in C# 5.0

    By TATWORTH

    from Cheshire, England

    About Me Designer, Developer, Mvp Aspnetiis

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Helpful examples
    • Well-written

    Cons

      Best Uses

        Comments about oreilly Async in C# 5.0:

        * Good book for all C# and VB.NET Development teams
        * A thorough introduction to this important new language feature.
        * I learned a lot from this review copy.
        * Should have included a note for VB.NET developers on how implimented in VB.NET
        * Should have had a direct download of source code.

         
        5.0

        Excellent focus on async/await in C#

        By shamp00

        from London, United Kingdom

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Helpful examples

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Async in C# 5.0:

          As an experienced C# developer, I found this book was exactly what I needed. The first seven chapters are a quick read about the general principles and enabled me to gain a good understanding of the syntax and the goals of the async approach. The example code is clear and simple. That said, async is a difficult topic and although it's well written, this book is not for readers without a solid background in C#.

          The other chapters are deep dives into some of the specifics and advanced use cases. I found myself frequently referring to these chapters as I migrated some of my existing code to async.

           
          3.0

          Good for theory

          By Michiel van Otegem

          from Landsmeer, Netherlands

          About Me Software architect

          Verified Reviewer

          Pros

          • Accurate

          Cons

          • Theoretical

          Best Uses

          • Intermediate

          Comments about oreilly Async in C# 5.0:

          Async in C# 5.0 (Alex Davies, O'Reilly) is good read of you plan to do parallel or async programming, although a bit theoretical. The book shows you why asynchronous programming is a little more than just using the new async and await keywords. These keywords make asynchronous programming syntactically simple, but as this book shows through meticulous explanation there is much more than meets the eye. The book starts of with just showing you how async and await works, and then shifts gear to show you how asynchronous programming worked before we had these keywords. This makes you appreciate all the heavy lifting done for you, but it also makes you understand why asynchronous programming is something you need to do with care. Then there's several chapters about what's going on and which pitfalls you can run into (and how to avoid them). The strength of this book is the excellent theoretical handling of the topic. The weakness is the lack of practical examples and a high-level view on when and how to use asynchronous constructs. This is mainly a book to read to gain deeper understanding. I doubt I'll use it as a reference.

          (3 of 8 customers found this review helpful)

           
          2.0

          Needs a lot of work

          By Jesper_A

          from Houston, TX

          About Me Designer, Developer

          Pros

          • It~'~~s Short

          Cons

          • Difficult to understand
          • Not comprehensive enough
          • Too basic
          • Too many errors

          Best Uses

            Comments about oreilly Async in C# 5.0:

            This book needs a lot of editing - but that should have happened before printing it...

            The text is somewhat poor English, but not because the author is from Britain. I say this as an "English as a second language" speaker!

            Code samples are poor and it's often difficult to understand how the code matches the text.

            If you're a beginner, you won't learn from this book.

            You need to know the subject in order to understand this book - but then you don't need it either.

            The few expert tips and hints are often mentioned in the very last lines in a chapter, leaving me with "that's cool - but where's the rest?"

            Displaying reviews 1-6

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook:  $12.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook:  $16.49
            Print:  $14.99