By Eugene Agafonov
Multithreaded programming can appear overwhelming yet this ebook clarifies every little thing via its cookbook technique. choked with sensible projects, it is the speedy and straightforward strategy to begin delving deep into the facility of multithreading in C#.
- Delve deep into the .NET threading infrastructure and use activity Parallel Library for asynchronous programming
- Scale out your server functions effectively
- Successfully software home windows eight and home windows Azure asynchronous applications
In an age while machine processors are being constructed to comprise increasingly more cores, multithreading is a key issue for developing scalable, potent, and responsive functions. if you happen to fail to do it appropriately, it may well result in complicated difficulties that take a tremendous period of time to unravel. for that reason, having an exceptional realizing of multithreading is a needs to for the fashionable program developer.
Multithreading in C# 5.0 Cookbook is an easy-to-understand consultant to the main confusing programming difficulties. This booklet will advisor you thru functional examples devoted to quite a few facets of multithreading in C# on home windows and should provide you with an exceptional foundation of sensible wisdom that you could then use to software your personal scalable and trustworthy multithreaded functions.
This booklet publications you thru asynchronous and parallel programming from simple examples to useful, real-world suggestions to complicated difficulties. you'll begin from the very starting, studying what a thread is, after which continue to benefit new recommendations in keeping with the knowledge you get from the former examples.
After describing the fundamentals of threading, it is possible for you to to know extra complex ideas like job Parallel Library and C# asynchronous capabilities. Then, we circulation in the direction of parallel programming, beginning with easy information buildings and progressively progressing to the extra complex styles. The ebook concludes with a dialogue of the specifics of home windows eight software programming, supplying you with an entire realizing of the way home windows eight functions are assorted and the way to software asynchronous purposes for home windows 8.
What you'll examine from this book
- Work with uncooked threads, synchronize threads, and coordinate their work
- Develop your individual asynchronous API with job Parallel Library
- Use C# 5.0 asynchronous language features
- Scale up your server software with I/O threads
- Parallelize your LINQ queries with PLINQ
- Use universal concurrent collections
- Apply various parallel programming patterns
- Work with home windows eight and home windows Azure asynchronous APIs
- Use Reactive Extensions to run asynchronous operations and deal with their options
This e-book is an easy-to-follow advisor packed with hands-on examples of real-world multithreading initiatives. every one subject is defined and put in context, and for the extra inquisitive readers, there also are extra in-depth info of the techniques used.
Who this publication is written for
If you're a developer or new to multithreaded programming and also you are trying to find a brief and straightforward method to start, then this ebook is for you. it really is assumed that you've a few adventure in C# and .NET already, and also you must also be acquainted with computing device technological know-how and easy algorithms and information structure.