Book Image

Mastering Cloud Development using Microsoft Azure

Book Image

Mastering Cloud Development using Microsoft Azure

Overview of this book

Microsoft Azure is a cloud computing platform that supports many different programming languages, tools, and frameworks, including both Microsoft-specific and third-party software and systems. This book starts by helping you set up a professional development environments in the cloud and integrating them with your local environment to achieve improved efficiency. You will move on to create front-end and back-end services, and then build cross-platform applications using Azure. Next you’ll get to grips with advanced techniques used to analyze usage data and automate billing operations. Following on from that, you will gain knowledge of how you can extend your on-premise solution to the cloud and move data in a pipeline. In a nutshell, this book will show you how to build high-quality, end-to-end services using Microsoft Azure. By the end of this book, you will have the skillset needed to successfully set up, develop, and manage a full-stack Azure infrastructure.
Table of Contents (15 chapters)
Mastering Cloud Development using Microsoft Azure
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Per-message event handling


After the basket has received the command to add a product in it, the web application will not yet be updated with the new basket information.

In terms of responsibility, it is correct that a command handler does not update the UI. Instead it has the responsibility of notifying that a product was added into the basket, and that the total and the content have changed.

This is an important concept for evolutional software. Events are a great way of decoupling, not only on actual features, but also with future, hypothetical features. If in future there is a need for another feature depending on how the basket updated, then none of the existing code would be affected as just another worker would be necessary to generate another answer to the event.

Because many (more than one) can be interested in an event, the service bus queue is not the correct solution, as it is designed around the idea that with competing consumers, only one receives the message. A variation on this...