By Eugene Agafonov
Over 70 recipes that can assist you research asynchronous and parallel programming with C# 5.0 fast and efficiently
- Delve deep into the .NET threading infrastructure and use job Parallel Library for asynchronous programming
- Scale out your server purposes effectively
- Master C# 5.0 asynchronous operations language support
In an age whilst desktop processors are being constructed to include progressively more cores, multithreading is a key issue for growing scalable, powerful, and responsive purposes. for those who fail to do it safely, it could result in difficult difficulties that take an immense period of time to solve. accordingly, having an excellent realizing of multithreading is a needs to for the fashionable program developer.
Multithreading in C# 5.0 Cookbook is an easy-to-understand advisor to the main complicated programming difficulties. This publication will advisor you thru useful examples devoted to quite a few elements of multithreading in C# on home windows and should provide you with a superb foundation of useful wisdom which you could then use to software your individual scalable and trustworthy multithreaded functions.
This ebook publications you thru asynchronous and parallel programming from uncomplicated examples to functional, real-world strategies to complicated difficulties. you'll begin from the very starting, studying what a thread is, after which continue to profit new recommendations in response to the knowledge you get from the former examples.
After describing the fundamentals of threading, it is possible for you to to know extra complex suggestions like activity Parallel Library and C# asynchronous services. Then, we flow in the direction of parallel programming, beginning with uncomplicated information constructions and progressively progressing to the extra complicated styles. The e-book concludes with a dialogue of the specifics of home windows eight software programming, supplying you with an entire knowing of the way home windows eight purposes are diversified and the way to software asynchronous purposes for home windows 8.
What you are going to examine from this book
- Work with uncooked threads, synchronize threads, and coordinate their work
- Develop your personal asynchronous API with activity Parallel Library
- Use C# 5.0 asynchronous language features
- Scale up your server program with I/O threads
- Parallelize your LINQ queries with PLINQ
- Use universal concurrent collections
- Apply various parallel programming patterns
- Work with home windows eight asynchronous APIs
- Use Reactive Extensions to run asynchronous operations and deal with their options
This ebook is an easy-to-follow advisor filled with hands-on examples of real-world multithreading initiatives. each one subject is defined and put in context, and for the extra inquisitive readers, there also are extra in-depth information of the strategies used.
Who this e-book is written for
If you're a developer or new to multithreaded programming and also you are trying to find a brief and straightforward technique to start, then this publication is for you. it's assumed that you've got a few event in C# and .NET already, and also you must also be conversant in desktop technological know-how and easy algorithms and knowledge structure.