Book Image

Learning Azure Functions

Book Image

Learning Azure Functions

Overview of this book

Functions help you easily run small pieces of code in cloud with Azure functions without worrying about a whole application or the infrastructure to run it. With Azure functions, you can use triggers to execute your code and bindings to simplify the input and output of your code. This book will start with the basics of Azure Functions. You will learn the steps to set up the environment and the tools that we will be using in the further chapters. Once you have a better understanding of this, we will be creating our first hello world function app. Later you will be introduced to triggers, how they are used to activate a function, and how binding can be used to output results of a function.You will also explore the steps to create an assembly with complex functionality that can be used by functions. Next, this book will teach you to scale your functions and use them to process data, integrate systems, and build simple APIs and microservices. Finally, this book will cover some diagnostic techniques with Azure App services and best practices of working with Azure Functions. By the end of this book, you will be well-versed with the techniques of scaling your Azure functions and making the most of serverless architecture.
Table of Contents (17 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Continuous Delivery


Continuous Delivery is the practice of deploying a package into a non-production environment in an automated manner.

Once our Continuous Integration process is completed successfully, we can deploy a package using the Continuous Delivery practice in an automated way.

  1. Click on the Releases in VSTS.
  1. Click on New definition:
  1. Select the Azure App Service Deployment template and click on Next:
  1. Select the Project and Build definition that we created in the previous section.
  2. Select the Continuous Deployment checkbox.
  1. It means that whenever the associated Build definition is successfully executed, release definition will be triggered automatically. Click on Create:
    • The new Release definition is ready.
    • Let's configure it.
    • We need to configure Azure Subscription first.
  1. Click on Manage:
  1. Click on New Service Endpoint.
  2. Select new Azure Resource Manager:
  1. Provide a Connection name and select Subscription:
  1. Verify the newly created endpoint:
  1. Go to the Release Definitions. Refresh the list of Azure subscriptions...