1. Home
  2. Training Library
  3. Microsoft Azure
  4. Courses
  5. Developing Long-Running Tasks on Azure

Message Queues - Demo

play-arrow
Start course
Overview
DifficultyIntermediate
Duration35m
Students15

Description

Introduction
This Course will show practical applications of key Azure features to meet the programming and configuration challenges introduced by long-running tasks.

We'll start with Azure Batches and how you can use them to create large-scale, parallel, and high-performance apps in the Azure cloud. Then we'll go over Azure Queues and how they can add resiliency to your web applications. Next, you'll look at Webhooks and how they can address events in your cloud apps. Finally, we'll show you WebJobs and how they can deal with continuous processing tasks.

By the end of this Course, you should be able to understand and apply these four Azure features to solve some of the challenges you face with long-running tasks, especially in high-performance computing applications.

Learning Objectives

  • Create large-scale, parallel, and high-performance apps by using Azure Batches
  • Build resilient apps by using Azure Queues
  • Implement code to address application events by using Azure Webhooks
  • Address continuous processing tasks by using Azure WebJobs

Intended Audience

  • People pursuing the Microsoft AZ-300 (Azure Cloud Architect) certification
  • IT professionals, web developers, DevOps administrators

Prerequisites

  • Basic understanding of cloud concepts
  • Familiarity with web programming
  • Exposure to Azure configuration (Portal, CLI, or PowerShell)

Feedback 
We’d love to get your feedback on this Course, so please give it a rating when you’re finished.

Transcript

Storage Explorer can be a useful tool when working with message queues. You can download it from a link in the Azure portal. I've just manually added two messages to the queue. 

Let's now go over to the Azure portal and look at the queue that I created for this demo. Let's take the root access key and copy it over to our project. Here in app.config, we'll paste in the connection string. I'm going to step through the program so that you can see each stage in reading from the queue. Here is the code that creates the queue client. We can now peek at the next message in the queue. This last section of code opens a console to display the message. You can use this same technique to create a storage queue and send some messages.

About the Author

Students16
Courses1

Derrick is a content contributor and trainer for Microsoft cloud technologies like Azure, Office 365 and Dynamics 365. He works across North America and Europe to help companies and organizations with these technology shifts. Before that he has worn many hats but prefers to wear them one at a time.

When he is not night walking during his travels, you can find him on a bicycle path or performing guitar solos to an imaginary audience in his basement.