官术网_书友最值得收藏!

Introduction

One of the key features required for the smooth running of business applications is to have a reliable communication system between the business and its customers. The communication channel usually operates two-way, by either sending a message to the administrators managing the application or by sending alerts to customers via emails or SMS to their mobile phones.

Azure can integrate with two popular communication services: SendGrid for emails, and Twilio for working with text messages. In this chapter, we will learn how to leverage both of these communication services to send messages between business administrators and end users.

Figure 2.1 is the architecture that we will be using for utilizing SendGrid and Twilio Output Bindings with HTTP and queue triggers:

  1. Client applications (web/mobile) make Http Requests, which trigger the Http Trigger.
  2. The Http Trigger creates a message to the Queue.
  3. A Queue Trigger is invoked as soon as a message arrives at the queue.
  4. Send Grid Output Bindings is executed.
  5. An Email is sent to the end user.
  6. Twilio Output Bindings is executed.
  7. An SMS is sent to the end user:
Figure 2.1: Architecture of SendGrid and Twilio output bindings
主站蜘蛛池模板: 图们市| 佛冈县| 永平县| 怀集县| 怀远县| 绥江县| 兴化市| 宜昌市| 吉隆县| 太谷县| 政和县| 雅安市| 曲松县| 大宁县| 安远县| 郧西县| 安仁县| 江津市| 毕节市| 威远县| 炎陵县| 潜江市| 北安市| 尤溪县| 韶关市| 兰西县| 襄汾县| 大新县| 铜鼓县| 肥乡县| 公主岭市| 福建省| 绥芬河市| 水城县| 金溪县| 乐至县| 喀喇| 新化县| 陇南市| 襄城县| 宜兰县|