Reactive Programming for .NET Developers
eBook - ePub

Reactive Programming for .NET Developers

Antonio Esposito, Michael Ciceri

Share book
  1. 276 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Reactive Programming for .NET Developers

Antonio Esposito, Michael Ciceri

Book details
Book preview
Table of contents
Citations

About This Book

Get up and running with reactive programming paradigms to build fast, concurrent, and powerful applications

About This Book

  • Get to grips with the core design principles of reactive programming
  • Learn about Reactive Extensions for.NET through real-world examples
  • Improve your problem-solving ability by applying functional programming

Who This Book Is For

If you are a.NET developer who wants to implement all the reactive programming paradigm techniques to create better and more efficient code, then this is the book for you. No prior knowledge of reactive programming is expected.

What You Will Learn

  • Create, manipulate, and aggregate sequences in a functional-way
  • Query observable data streams using standard LINQ query operators
  • Program reactive observers and observable collections with C#
  • Write concurrent programs with ease, scheduling actions on various workers
  • Debug, analyze, and instrument Rx functions
  • Integrate Rx with CLR events and custom scheduling
  • Learn Functional Reactive Programming with F#

In Detail

Reactive programming is an innovative programming paradigm focused on time-based problem solving. It makes your programs better-performing, easier to scale, and more reliable.

Want to create fast-running applications to handle complex logics and huge datasets for financial and big-data challenges? Then you have picked up the right book!

Starting with the principles of reactive programming and unveiling the power of the pull-programming world, this book is your one-stop solution to get a deep practical understanding of reactive programming techniques. You will gradually learn all about reactive extensions, programming, testing, and debugging observable sequence, and integrating events from CLR data-at-rest or events. Finally, you will dive into advanced techniques such as manipulating time in data-flow, customizing operators and providers, and exploring functional reactive programming.

By the end of the book, you'll know how to apply reactive programming to solve complex problems and build efficient programs with reactive user interfaces.

Style and approach

This is a concise reference manual for reactive programming with Rx for C# and F# using real-world, practical examples.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Reactive Programming for .NET Developers an online PDF/ePUB?
Yes, you can access Reactive Programming for .NET Developers by Antonio Esposito, Michael Ciceri in PDF and/or ePUB format, as well as other popular books in Informatique & Langues de programmation. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785882883

Reactive Programming for .NET Developers


Reactive Programming for .NET Developers

Copyright Š 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: July 2016
Production reference: 1150716
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78588-288-3
www.packtpub.com

Credits

Authors
Antonio Esposito
Michael Ciceri
Copy Editors
Akshata Lobo
Reviewer
Uladzimir Kazakevich
Project Coordinator
Ritika Manoj
Commissioning Editor
Amarabha Banerjee
Proofreader
Safis Editing
Acquisition Editor
Larissa Pinto
Indexer
Rekha Nair
Content Development Editor
Arun Nadar
Graphics
Jason Monteiro
Technical Editor
Sachit Bedi
Production Coordinator
Aparna Bhagat

About the Authors

Antonio Esposito is a Microsoft Certified Trainer, software architect, father, son, and lover of cooking and eating. He has been addicted to computer programming from age 8, a developer since 2002, and a speaker from 2010. He has moved across Europe in the last fifteen years working as freelance consultant or speaker for companies such as UniCredit Bank, Ferrari F1 Racing Team, Microsoft Italy, IBM, and many others. He actively attends as a speaker at a lot of conferences, such as MCT Summit and WPC Italy. He is already an author for Packt with Learning .NET High Performance Programming in 2014.
To my children Tommaso and Matteo, and my lovely wife Giusy, who supported me during my many and many nights of writing.
Michael Ciceri is a technology consultant in .NET Framework and Microsoft. He is a functional programming, mathematics, technology, psychology, and science enthusiast. He started as an autodidact and passionately became an analyst and software developer in several areas, such as image processing, banking ATM services security, intranet back end, app monetizing. Recently, he has been working on the analysis and development of functions in the core application to solve problems or improve capabilities.

About the Reviewer

Uladzimir Kazakevich has been writing code for as long as he can remember. He is a developer, consultant, and solution architect. With over 15 years of experience in delivering solutions across industry sectors, such as social media, education, e-commerce and finance, he specializes in technologies, such as Microsoft .NET, WebAPI, Windows Communication Foundation, MSSQL, Microsoft Azure, scalable and high-performant infrastructure. He is certified by SEI as Software Architecture Professional and is TOGAF 9-certified.
Uladzimir serves as Head of EPAM Microsoft Competency Center with focus on Solution Architecture. His key focus is to harness, develop, and scale innovative technologies and engineering methodologies in the company, competency center and successfully apply them in client engagements.
When he codes for fun, he spends his time using Arduinos, sensors, Raspberry Pis, and Azure Machine Learning to build own house automation system. He is also the organizer of local TechTalks and SETCON conferences; he is also an active speaker at such events.
Uladzimir lives in Brest, Belarus, with his wonderful wife Alena and their awesome little girl Nika.

www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
www.PacktPub.com
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

Preface

Reactive programming is the programming paradigm for handling continuous changing messages and their notifications. Instead of developing static value changes, we develop data changes. This slight difference leaves the developer facing issues regarding high speed messaging systems that handle such messages in a completely new way. Reactive programming means writing functions that transform messages. This means that something, such as an exception within the reactive world became a message. This book will cover Reactive programming with Reactive extensions for .NET in an increasing complex approach. In the final chapters, the reader will find real-world solutions and learn about F# functional reactive programming.

What this book covers

Chapter 1 , First Steps in Reactive Programming, covers what Reactive programming is: the idea, the overall design, the available frameworks, and the languages supporting this incredible programming paradigm.
Chapter 2 , Reactive Programming with C#, will show Reactive programming in action in plain C# coding without the need for any external reference. In this way, any developer may bring reactive programming knowledge to any existing application.
Chapter 3 , Reactive Extension Programming, explains RX basics, such as the Observable sequence, message consumers (Observer), and the most widely used reactive operators, such as message transforming and message grouping functions.
Chapter 4 , Observable Sequence Programming, will teach you how to produce, consume, and route messages with subjects and learn the Rx operator catalog. You will also see operators that apply message filtering, aggregation, transformation, generation, and time-based operations.
Chapter 5 , Debugging Reactive Extensions, will deal with debugging and tracing observable sequences. It focuses on handling exceptions, routing errors, and not...

Table of contents