Integrating Serverless Architecture: Using Azure Functions, Cosmos Db, and Signalr Service
暫譯: 整合無伺服器架構:使用 Azure Functions、Cosmos DB 和 SignalR 服務
Vemula, Rami
- 出版商: Apress
- 出版日期: 2019-05-28
- 售價: $2,520
- 貴賓價: 9.5 折 $2,394
- 語言: 英文
- 頁數: 386
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484244885
- ISBN-13: 9781484244883
-
相關分類:
Microsoft Azure、Serverless
海外代購書籍(需單獨結帳)
商品描述
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.
商品描述(中文翻譯)
設計、開發、建構並交付一個端到端的無伺服器架構,利用 Azure 服務、框架和工具。本書提供了一個整體的方法,指導您設計和開發一個 Twitter Bot 應用程式,同時利用 Azure Functions。
《整合無伺服器架構》首先概述了無伺服器計算及如何開始使用 Azure Functions。在這裡,您將創建一個 Twitter bot 函數,該函數掃描 Twitter 上的最新推文並使用依賴注入。此外,您將學習 Azure Cosmos DB,涵蓋其變更通知機制和儲存庫模式。您將創建一個基於 Cosmos DB 觸發器的推文通知函數,該函數將最新推文廣播給連接的客戶端。您將探索 Azure Service Bus 的基本概念,並創建一個推文排程函數,該函數將為 Twitter bot 函數優先處理不同的關鍵字。在此過程中,您將在 Azure 環境中進行除錯、交付和測試這些函數。
本書展示了如何利用 Azure Key Vault 來保護您的 Azure Function 秘密。為了進一步了解這項技術,您將學習 Azure Functions 中的日誌記錄和異常處理。
在書的後半部分,您將使用 ASP.NET Core 和 Materialize CSS 建立一個 Twitter bot 網頁應用程式,該應用程式將與幾個基於 HTTP 的 Azure Functions 互動。Twitter bot 網頁應用程式允許用戶通過 Twitter 身份提供者登錄,訂閱不同的關鍵字/標籤,並根據訂閱瀏覽最新推文。您將開始使用 SignalR Service,並將其與 Azure Functions 和網頁應用程式整合。接近結尾時,您將了解 Azure Functions 上的應用服務身份驗證,並發現如何配置 Azure Functions 的持續集成和交付。
閱讀本書後,您將能夠理解使用 Azure Functions 設計、開發和交付工作流程所涉及的步驟。
您將學到的內容:
- 使用 Azure Functions 設計和開發一個 Twitter bot 應用程式,並以 Azure Web App Service 作為前端
- 利用 Azure Cosmos DB 作為數據儲存,並使用其變更通知機制觸發通知
- 從 Azure Key Vault 儲存和檢索秘密
- 將 Azure Functions 與 Azure SignalR Service 整合,以廣播即時消息
- 通過啟用 Twitter 身份驗證來保護 Azure Functions,使用內建的應用服務身份驗證
- 使用 Visual Studio Team Services (VSTS) 為 Azure Functions 建立持續集成和持續交付管道
本書適合對象:
開發人員、軟體工程師和架構師,他們設計和管理基礎設施,並利用微軟雲服務構建應用程式。
作者簡介
Rami Vemula is a technology consultant who has more than 8 years of experience in delivering scalable Web and Cloud solutions using Microsoft Technologies and platforms, which includes ASP.NET MVC/Web API, .NET Core, ASP.NET Core, JQuery, C#, Entity Framework, SQL Server and Azure.
He is currently working for Microsoft India Global Delivery as a Consultant. As part of his work, he architects, develops and maintains technical solutions to various clients in Public and Private Sectors.
Although web technologies are his primary area of focus, he also worked on other technologies which include Big Data Analytics using HDInsight, Universal Windows Platform Apps, Containerization using Docker etc. He is also interested in providing streamlined DevOps integration flows through which development teams can achieve greater productivity. Now a days he is promoting Open Source technologies, platforms and tools to build cross platform solutions.He is a Microsoft Certified ASP.Net and Azure Developer. He was a Microsoft Most Valuable Professional (MVP) in ASP.NET from 2011 to 2014 and an active trainer. In his free time, he enjoys answering technical questions at StackOverflow and forums.asp.net. He loves to share his technical experiences through his blog at http: //intstrings.com/ramivemula. Apart from technology, his other interests include movies, drama and theatre arts.
He holds a Master's Degree in Electrical Engineering from California State University, Long Beach, USA. He is married and lives with his wife, kid and parents in Hyderabad, India.
You can reach Rami at rami.ramilu@gmail.com or https: //twitter.com/RamiRamilu.作者簡介(中文翻譯)
Rami Vemula 是一位技術顧問,擁有超過 8 年的經驗,專注於使用 Microsoft 技術和平台提供可擴展的網頁和雲端解決方案,包括 ASP.NET MVC/Web API、.NET Core、ASP.NET Core、JQuery、C#、Entity Framework、SQL Server 和 Azure。
他目前在 Microsoft India Global Delivery 擔任顧問。在他的工作中,他為公共和私營部門的各種客戶架構、開發和維護技術解決方案。
雖然網頁技術是他的主要專注領域,但他也曾涉獵其他技術,包括使用 HDInsight 的大數據分析、通用 Windows 平台應用程式、使用 Docker 的容器化等。他也對提供精簡的 DevOps 整合流程感興趣,透過這些流程,開發團隊可以實現更高的生產力。如今,他正在推廣開源技術、平台和工具,以建立跨平台解決方案。
他是 Microsoft 認證的 ASP.Net 和 Azure 開發人員。從 2011 年到 2014 年,他曾是 ASP.NET 的 Microsoft 最有價值專業人士 (MVP) 並且是一位活躍的培訓師。在空閒時間,他喜歡在 StackOverflow 和 forums.asp.net 回答技術問題。他熱衷於通過他的部落格 http://intstrings.com/ramivemula 分享他的技術經驗。除了技術,他的其他興趣包括電影、戲劇和戲劇藝術。
他擁有美國加州州立大學長灘分校的電機工程碩士學位。他已婚,與妻子、孩子和父母一起住在印度海得拉巴。
您可以通過 rami.ramilu@gmail.com 或 https://twitter.com/RamiRamilu 聯繫 Rami。