Book Image

Mastering Cloud Development using Microsoft Azure

By : Freato
Book Image

Mastering Cloud Development using Microsoft Azure

By: Freato

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 (10 chapters)
9
Index

Getting data from the service


Now we are ready to connect our Cordova mobile app to the simple table just created and populated. Every mobile platform has its own connection SDK. In our case, we have chosen Cordova. So right-clicking from the project folder in Visual Studio 2015, we can open the command prompt and type the following command:

This downloads the Cordova plug-in for mobile apps and references it from the project. Before proceeding with the code, we have to remember that we need to write Cordova code in Typescript, not just JavaScript. The plug-in code is just JavaScript: if we proceed in this way, when we type code working with the Azure mobile package we will not have any IntelliSense help from editors as type information is missing. TypeScript supports the reuse of JavaScript packages that miss out TypeScript type information, implementing the notion of TypeScript definitions. These are files that are referenced in code (such as C/C++ language header files), defining classes...