- eBook:Integrating Serverless Architecture: Using Azure Functions, Cosmos DB, and SignalR Service
- Author:Rami Vemula
- Edition:1st ed. edition
- Data:August 2, 2019
- Pages:436 pages
Integrating Serverless Architecture begins with an overview of serverless computing and getting started with Azure Functions. Here, you will create a Twitter bot function which scans Twitter for the latest tweets and makes use of dependency injection. Further, you will learn about Azure Cosmos DB where you will cover its change feed mechanism and the repository pattern. You will create a Cosmos DB trigger-based tweet notifier function, which will broadcast the latest tweets to connected clients. You will explore the basics of Azure Service Bus and create a tweet scheduler function, which will prioritize different keywords for the Twitter bot function. Along the way, you will debug, deliver, and test the functions in the Azure environment.
This book shows you how to secure your Azure Function secrets with the help of Azure Key Vault. To further your understanding of the technology, you will learn logging and exception handling in Azure Functions.
Later in the book, you will build a Twitter bot web application by using ASP.NET Core and Materialize CSS, which will interact with several HTTP-based Azure Functions. The Twitter bot web application allows users to log in through the Twitter Identity Provider, subscribe to different keywords/hashtags, and browse the latest tweets based on subscriptions. You will get started with SignalR Service and integrate it with Azure Functions and web applications. Towards the end you will go through app service authentication on Azure Functions and discover how to configure continuous integration and delivery to Azure Functions. After reading this book, you will be able to understand the steps involved in design, development, and delivery of a workflow using Azure Functions.
What You Will Learn
- Design and develop a Twitter bot application using Azure Functions with Azure Web App Service as the front end
- Leverage Azure Cosmos DB as data storage and trigger notifications using its change feed mechanism
- Store and retrieve secrets from Azure Key Vault
- Integrate Azure Functions with Azure SignalR Service to broadcast real-time messages
- Secure Azure Functions by enabling Twitter identity authentication using built-in App Service authentication
- Build a continuous integration and continuous delivery pipeline for Azure Functions using Visual Studio Team Services (VSTS)
Who This Book Is For
Developers, software engineers, and architects who design and manage infrastructures and build applications by leveraging Microsoft cloud services.
Chapter 2: Getting Started with Azure Functions
Chapter 3: Exploring Azure Cosmos DB and Its Change Feed Mechanism
Chapter 4: Designing the Tweet Scheduler Function with Service Bus Integration
Chapter 5: Handling Secrets and Exceptions in Azure Functions
Chapter 6: Designing and Developing the Twitter Bot Web Application
Chapter 7: Getting Started with Azure SignalR Service
Chapter 8: Managing App Settings and Implementing Authentication in Azure Functions
Chapter 9: Setting Up a Continuous Integration and Continuous Delivery Pipeline for Azure Functions