Skip to Content
Integrating Serverless Architecture: Using Azure Functions, Cosmos DB, and SignalR Service
book

Integrating Serverless Architecture: Using Azure Functions, Cosmos DB, and SignalR Service

by Rami Vemula
May 2019
Intermediate to advanced
447 pages
8h 28m
English
Apress

Overview

Design, develop, build, and deliver an end-to-end serverless architecture by leveraging Azure services, frameworks, and tools. This book offers a holistic approach, guiding you through the design and development of a Twitter Bot application, while leveraging Azure Functions.

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real-Time Web Application Development : With ASP.NET Core, SignalR, Docker, and Azure

Real-Time Web Application Development : With ASP.NET Core, SignalR, Docker, and Azure

Rami Vemula
Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Guide to NoSQL with Azure Cosmos DB

Guide to NoSQL with Azure Cosmos DB

Gastón C. Hillar, Daron Yöndem

Publisher Resources

ISBN: 9781484244890Purchase LinkPublisher Website