Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Triggering the Service Bus queue function locally

To demonstrate the last statement in the preceding section, let us use a timer-triggered function to test the ProcessQueue function that we created in Chapter 5, Integrations and Dependencies, which is triggered by a Service Bus queue message.

As mentioned, a Service Bus message can be simulated in other ways, including using triggering from the Function Core Tools. The following process, however, allows us to execute the actual "real" event flow, rather than debugging with a dummy message.

Creating an access policy for the Service Bus Queue

To write messages to the Service Bus Queue, we first need to create an appropriate access policy. In this case, we will create a policy with only the ...

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

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content