Skip to content

Commit 4423f3a

Browse files
Merge pull request #48863 from spelluru/sbustraining0127
Freshness review of Service Bus training module
2 parents 07f66d8 + 7eece37 commit 4423f3a

16 files changed

+92
-185
lines changed

learn-pr/azure/implement-message-workflows-with-service-bus/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Introduction
88
description: Introduction.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/2-choose-a-messaging-platform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Choose a messaging platform
88
description: Understand how to choose a messaging platform.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/3-exercise-implement-a-service-bus-topic-and-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Exercise - Create Service Bus queue and topic
88
description: Create Service Bus messaging components—a namespace that contains a queue, a topic, and subscriptions.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/4-write-code-that-uses-service-bus-queues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Write code to send and receive messages by using a queue
88
description: Learn how to write code that sends messages to and receives messages from a Service Bus queue.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/5-exercise-write-code-that-uses-service-bus-queues.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Exercise - Send and receive messages by using a queue
88
description: Write code that sends messages to and receives messages from a Service Bus queue.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit
1313
interactive: bash
14-
azureSandbox: true
1514
durationInMinutes: 10
1615
content: |
1716
[!include[](includes/5-exercise-write-code-that-uses-service-bus-queues.md)]

learn-pr/azure/implement-message-workflows-with-service-bus/6-write-code-that-uses-service-bus-topics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Write code to send and receive messages by using a topic
88
description: Learn how to write code that sends messages to a topic and receives messages from a subscription to the topic.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/7-exercise-write-code-that-uses-service-bus-topics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Exercise - Send and receive messages by using a topic
88
description: Write code that sends messages to a topic and receives messages from a subscription to the topic.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit

learn-pr/azure/implement-message-workflows-with-service-bus/8-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Summary
88
description: Summary.
9-
ms.date: 10/25/2023
9+
ms.date: 01/27/2025
1010
author: spelluru
1111
ms.author: spelluru
1212
ms.topic: unit
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
Modern applications frequently consist of multiple parts running on separate computers and devices that are distributed in diverse locations around the world. Complex networks with varying reliability and speed exist among these components. A fundamental challenge with these distributed applications is how to communicate reliably among the components.
22

3-
Suppose you're a cloud developer for Contoso Bicycles, a global bicycle chain. Your employer is upgrading its technology so that customers can place orders from the web or from a mobile app. An order is sent to the customer's preferred storefront location, where store employees fill the order. As the order is filled from parts, packaged for shipping, and put on a delivery vehicle, updates are sent to the customer's mobile app. The customer even receives location updates as the delivery vehicle heads toward them.
3+
Suppose you're a cloud developer for Contoso Bicycles, a global bicycle chain. Your employer is upgrading its technology so that customers can place orders from the web or from a mobile app. An order is sent to the customer's preferred storefront location, where store employees fill the order. As the order is filled from parts, packaged for shipping, and placed on a delivery vehicle, updates are sent to the customer's mobile app. The customer even receives location updates as the delivery vehicle heads toward them.
44

5-
Contoso Bicycles previously created an online ordering system that immediately stored order data in a SQL Server database. Each store had to manually refresh the company's web orders intranet page to check for new orders for their store. In addition, during peak usage, such as bicycle orders during tourist season or sporting events, the system frequently experienced deadlock exceptions and timeouts. Finally, the system lacked central payment processing and any kind of order-status tracking for the customer.
5+
Contoso Bicycles previously created an online ordering system that immediately stored order data in a SQL Server database. Each store had to manually refresh the company's web orders intranet page to check for new orders for their store. In addition, during peak usage, such as bicycle orders during tourist season or sporting events, the system frequently experienced deadlock exceptions and time-outs. Finally, the system lacked central payment processing and any kind of order-status tracking for the customer.
66

77
For the new, more ambitious project, Contoso Bicycles hired a cloud architect. The company plans to begin using a distributed architecture for order communications.
88

9-
In this module, you'll learn how Azure Service Bus can help build an application that is reliable, even during peak demand. You'll also learn how Azure Service Bus makes it easy to add functionality to applications. You'll be writing the C# code that's necessary to put these lessons to work. Here, you'll see how to use Service Bus queues and topics in a distributed architecture to ensure reliable communications, even at times of high demand.
9+
In this module, you learn how Azure Service Bus can help build an application that is reliable, even during peak demand. You also learn how Azure Service Bus makes it easy to add functionality to applications. You write the C# code that's necessary to put these lessons to work. Here, you see how to use Service Bus queues and topics in a distributed architecture to ensure reliable communications, even at times of high demand.
1010

1111
## Learning objectives
1212

13-
In this module, you'll learn how to:
13+
In this module, you learn how to:
1414

1515
- Choose whether to use Service Bus queues or topics to communicate in a distributed application.
1616
- Configure an Azure Service Bus namespace in an Azure subscription.
1717
- Create a Service Bus topic and use it to send and receive messages.
1818
- Create a Service Bus queue and use it to send and receive messages.
19+
20+
## Prerequisites
21+
22+
- Experience using [Visual Studio Code](https://code.visualstudio.com/download) to develop, build, and run C# console applications.
23+
- Experience using Git repositories and Git Bash. Download [Git for Windows](https://git-scm.com/downloads/win) if you don't have it already on your computer.

learn-pr/azure/implement-message-workflows-with-service-bus/includes/2-choose-a-messaging-platform.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In the terminology of distributed applications, the defining characteristic of a
1414

1515
A message generally contains the actual data, not just a reference (like an ID or a URL) to data. Sending data as part of a datagram is less brittle than sending a reference. The messaging architecture guarantees message delivery, and because no extra lookups are required, the message is reliably handled. However, the sending application needs to know exactly what data to include to avoid sending too much data, which would require the receiving component to do unnecessary work. In this sense, the message sender and receiver are often coupled by a strict data contract.
1616

17-
In the new architecture for Contoso Bicycles, when an order is placed, the company likely will use messages. The web front end or mobile app will send a message to the back-end processing components. On the back end, steps like routing to the store nearest the customer and charging a credit card will take place.
17+
In the new architecture for Contoso Bicycles, when an order is placed, the company likely uses messages. The web front end or mobile app sends a message to the back-end processing components. On the back end, steps like routing to the store nearest the customer and charging a credit card takes place.
1818

1919
### Events
2020

@@ -44,16 +44,16 @@ A Service Bus _queue_ is a simple temporary storage location for messages. A sen
4444

4545
Queues decouple the source and destination components to insulate destination components from high demand.
4646

47-
During peak times, messages might come in faster than destination components can handle them. Because source components have no direct connection to the destination, the source is unaffected, and the queue will grow. Destination components will remove messages from the queue as they're able to handle them. When demand drops, destination components can catch up, and the queue shortens.
47+
During peak times, messages might come in faster than destination components can handle them. Because source components have no direct connection to the destination, the source is unaffected, and the queue grows. Destination components remove messages from the queue as they're able to handle them. When demand drops, destination components can catch up, and the queue shortens.
4848

49-
A queue responds to high demand without needing to add resources to the system. However, for messages that need to be handled quickly, creating more instances of your destination component can allow them to share the load. Each message is handled by only one instance. This is an effective way to scale your entire application by only adding resources to the components that actually need it.
49+
A queue responds to high demand without needing to add resources to the system. However, for messages that need to be handled quickly, creating more instances of your destination component can allow them to share the load. Each message is handled by only one instance. This method is an effective way to scale your entire application by only adding resources to the components that actually need it.
5050

5151
### What is a topic?
5252

53-
A Service Bus _topic_ is similar to a queue, but a topic can have multiple subscriptions. This means that multiple destination components can subscribe to a specific topic, so each message is delivered to multiple receivers. Subscriptions can also filter the messages in the topic to receive only messages that are relevant. Subscriptions provide the same decoupled communications as queues and respond to high demand in the same way. Use a topic if you want each message to be delivered to more than one destination component.
53+
A Service Bus _topic_ is similar to a queue, but a topic can have multiple subscriptions, which means that multiple destination components can subscribe to a specific topic, so each message is delivered to multiple receivers. Subscriptions can also filter the messages in the topic to receive only messages that are relevant. Subscriptions provide the same decoupled communications as queues and respond to high demand in the same way. Use a topic if you want each message to be delivered to more than one destination component.
5454

5555
> [!NOTE]
56-
> Topics are not supported in the Basic pricing tier.
56+
> Topics aren't supported in the Basic pricing tier.
5757
5858
:::image type="content" source="../media/2-service-bus-topic.png" alt-text="Diagram that shows one sender sending messages to multiple receivers through a topic that contains three subscriptions. These subscriptions are used by three receivers to retrieve the relevant messages.":::
5959

0 commit comments

Comments
 (0)