Book Image

Mastering Cloud Development using Microsoft Azure

By : Roberto Freato, Marco Parenzan
Book Image

Mastering Cloud Development using Microsoft Azure

By: Roberto Freato, Marco Parenzan

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
About the Authors
About the Reviewer

Persisting a shopping cart with Azure Table Storage

The shopping cart is the storage where the user persists details about their intention to buy. Intention means it is not an order; it's different. It is just an annotation during store navigation to the effect that the user would like to buy that item.

The intention can take quite long and many trips in and out of the store. So, when it the user would like to find their shopping cart filled with elements they have not bought yet. So, user means that the shopping cart is keyed by the user and independent of the navigation session.

As items stay in the shopping cart for so long, pricing can change. So, prices need to be updated for items not ordered already in the shopping cart.

So, what is inside a shopping cart item?

  • A user session identification (as the user can be anonymous at the early stages of buying) that groups all items together

  • Any product in a shopping cart is, for a single user, a key in the shopping cart. No one buys the same product...