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

Writing the template


From Visual Studio, when Azure SDK is installed (2.9 at the time of writing this book), you have cloud templates under the Visual C# templates tree, and the Azure Resource Group project is available:

There are many predefined templates already available to handle some generic and common deployment scenarios with typical services deployed in combinations:

To better understand how it works, we start from a blank project template. The project constitution looks like this:

It contains:

  • azuredeploy.json: This is the template itself.

  • azuredeploy.parameters.json: This contains the persistence of initial values for defined parameters (we'll describe them later).

  • AzCopy.exe: This is a common command-line utility to copy files from a local machine to an Azure storage account. This is useful if we want to deploy code from storage during this phase.

  • Deploy-AzureResourceGroup.ps1: This is a PowerShell script that runs a template against the subscription and deploys code from the solution...