Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Adding bindings in the portal

You can add bindings in the Azure portal. Create a new Function App (one that isn't in read-only mode) to get started. Now, follow these steps:

  1. Create a new function.
  2. Pick the Azure Service Bus Queue trigger.
  3. Install the extension if you have to.
  4. Pick a name for your function or leave it as the default.
  5. Select a Service Bus connection or create a new one; you should still have the Service Bus from the previous example.
  6. Pick a new queue name so that it doesn't interfere with our previous example (unless you don't have that anymore).
  7. When your function has been created, add return myQueueItem; to the code:
using System;using System.Threading.Tasks;public static string Run(string myQueueItem, ILogger log){ log.LogInformation($"C# ...
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

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content