Skip to content

Commit f6c12d0

Browse files
committed
Freshness review
1 parent 8309f4d commit f6c12d0

9 files changed

Lines changed: 35 additions & 31 deletions

File tree

152 KB
Loading
110 KB
Loading
142 KB
Loading
84.4 KB
Loading

articles/service-bus-messaging/includes/service-bus-create-topics-three-subscriptions-portal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
author: spelluru
55
ms.service: azure-service-bus
66
ms.topic: include
7-
ms.date: 06/18/2025
7+
ms.date: 02/13/2026
88
ms.author: spelluru
99
ms.custom: include file
1010
---
1111

12-
## Create a topic using the Azure portal
12+
## Create a topic by using the Azure portal
1313

1414
1. On the **Service Bus Namespace** page, expand **Entities** on the navigational menu to the left, and select **Topics**.
1515
1. Select **+ Topic**.
@@ -31,8 +31,8 @@
3131
1. On the **Create subscription** page, follow these steps:
3232

3333
1. Enter *S1* as the name of the subscription.
34-
1. Then, select **Create** to create the subscription.
34+
1. Select **Create** to create the subscription.
3535

36-
:::image type="content" source="./media/service-bus-create-topics-subscriptions-portal/create-subscription-page.png" alt-text="Screenshot of the Create subscription page.":::
36+
:::image type="content" source="./media/service-bus-create-topics-subscriptions-portal/create-subscription-page.png" alt-text="Screenshot of the Create subscription page." lightbox="./media/service-bus-create-topics-subscriptions-portal/create-subscription-page.png":::
3737

3838
1. Repeat the previous step twice to create subscriptions named *S2* and *S3*.

articles/service-bus-messaging/media/service-bus-java-how-to-use-topics-subscriptions/sb-topics-01.png renamed to articles/service-bus-messaging/media/service-bus-java-how-to-use-topics-subscriptions/service-bus-topics-subscriptions.png

File renamed without changes.

articles/service-bus-messaging/service-bus-dotnet-get-started-with-queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this quickstart, you do the following steps:
2626
If you're new to the service, see [Service Bus overview](service-bus-messaging-overview.md) before you do this quickstart.
2727

2828
- **Azure subscription**. To use Azure services, including Azure Service Bus, you need a subscription. If you don't have an existing Azure account, you can sign up for a [free trial](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
29-
- **Visual Studio 2022**. The sample application makes use of new features that were introduced in C# 10. You can still use the Service Bus client library with previous C# language versions, but the syntax might vary. To use the latest syntax, we recommend that you install .NET 6.0, or higher and set the language version to `latest`. If you're using Visual Studio, versions before Visual Studio 2022 aren't compatible with the tools needed to build C# 10 projects.
29+
- **Visual Studio 2022** or later. The sample application makes use of new features that were introduced in C# 10. You can still use the Service Bus client library with previous C# language versions, but the syntax might vary. To use the latest syntax, we recommend that you install .NET 6.0, or higher and set the language version to `latest`. If you're using Visual Studio, versions before Visual Studio 2022 aren't compatible with the tools needed to build C# 10 projects.
3030

3131
[!INCLUDE [service-bus-create-namespace-portal](./includes/service-bus-create-namespace-portal.md)]
3232

articles/service-bus-messaging/service-bus-dotnet-how-to-use-topics-subscriptions.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: Get started with Azure Service Bus topics (.NET)
3-
description: This tutorial shows you how to send messages to Azure Service Bus topics and receive messages from topics' subscriptions using the .NET programming language.
2+
title: Azure Service Bus Topics Quickstart With .NET
3+
description: This tutorial shows you how to send messages to Azure Service Bus topics and receive messages from topics subscriptions using the .NET programming language.
4+
#customer intent: As a .NET developer, I want to learn how to send messages to an Azure Service Bus topic so that I can implement messaging in my application.
45
ms.topic: quickstart
56
ms.tgt_pltfrm: dotnet
6-
ms.date: 01/16/2025
7+
ms.date: 02/13/2026
78
ms.devlang: csharp
89
ms.custom: mode-api, passwordless-dotnet, devx-track-dotnet
910
# Customer intent: I want to learn how to send messages to an Azure Service Bus topic and receive messages from a subscription to the topic.
@@ -16,10 +17,10 @@ This quickstart shows how to send messages to a Service Bus topic and receive me
1617
In this quickstart, you do the following steps:
1718

1819
1. Create a Service Bus namespace, using the Azure portal.
19-
2. Create a Service Bus topic, using the Azure portal.
20-
3. Create a Service Bus subscription to that topic, using the Azure portal.
21-
4. Write a .NET console application to send a set of messages to the topic.
22-
5. Write a .NET console application to receive those messages from the subscription.
20+
1. Create a Service Bus topic, using the Azure portal.
21+
1. Create a Service Bus subscription to that topic, using the Azure portal.
22+
1. Write a .NET console application to send a set of messages to the topic.
23+
1. Write a .NET console application to receive those messages from the subscription.
2324

2425
> [!NOTE]
2526
> This quickstart provides step-by-step instructions to implement a simple scenario of sending a batch of messages to a Service Bus topic and receiving those messages from a subscription of the topic. For more samples on other and advanced scenarios, see [Service Bus .NET samples on GitHub](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/servicebus/Azure.Messaging.ServiceBus/samples).
@@ -30,7 +31,7 @@ In this quickstart, you do the following steps:
3031
If you're new to the service, see [Service Bus overview](service-bus-messaging-overview.md) before you do this quickstart.
3132

3233
- **Azure subscription**. To use Azure services, including Azure Service Bus, you need a subscription. If you don't have an existing Azure account, you can sign up for a [free trial](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
33-
- **Visual Studio 2022**. The sample application makes use of new features that were introduced in C# 10. You can still use the Service Bus client library with previous C# language versions, but the syntax might vary. To use the latest syntax, we recommend that you install .NET 6.0, or higher and set the language version to `latest`. If you're using Visual Studio, versions before Visual Studio 2022 aren't compatible with the tools needed to build C# 10 projects.
34+
- **Visual Studio 2022** or later. The sample application makes use of new features that were introduced in C# 10. You can still use the Service Bus client library with previous C# language versions, but the syntax might vary. To use the latest syntax, we recommend that you install .NET 6.0, or higher and set the language version to `latest`. If you're using Visual Studio, versions before Visual Studio 2022 aren't compatible with the tools needed to build C# 10 projects.
3435

3536
[!INCLUDE [service-bus-create-namespace-portal](./includes/service-bus-create-namespace-portal.md)]
3637

@@ -47,11 +48,11 @@ You can authorize access to the service bus namespace using the following steps:
4748
1. Launch Visual Studio. If you see the **Get started** window, select the **Continue without code** link in the right pane.
4849
1. Select the **Sign in** button in the top right of Visual Studio.
4950

50-
:::image type="content" source="./media/service-bus-dotnet-get-started-with-queues/azure-sign-button-visual-studio.png" alt-text="Screenshot showing a button to sign in to Azure using Visual Studio.":::
51+
:::image type="content" source="./media/service-bus-dotnet-get-started-with-queues/azure-sign-button-visual-studio.png" alt-text="Screenshot of the button to sign in to Azure using Visual Studio.":::
5152

5253
1. Sign-in using the Microsoft Entra account you assigned a role to previously.
5354

54-
:::image type="content" source="..//storage/blobs/media/storage-quickstart-blobs-dotnet/sign-in-visual-studio-account-small.png" alt-text="Screenshot showing the account selection.":::
55+
:::image type="content" source="..//storage/blobs/media/storage-quickstart-blobs-dotnet/sign-in-visual-studio-account-small.png" alt-text="Screenshot of the account selection dialog.":::
5556

5657
### [Connection String](#tab/connection-string)
5758
Launch Visual Studio. If you see the **Get started** window, select the **Continue without code** link in the right pane.
@@ -74,7 +75,7 @@ This section shows you how to create a .NET console application to send messages
7475
1. Select **Console App** from the results list.
7576
1. Then, select **Next**.
7677

77-
:::image type="content" source="./media/service-bus-dotnet-get-started-with-queues/new-send-project.png" alt-text="Image showing the Create a new project dialog box with C# and Console selected":::
78+
:::image type="content" source="./media/service-bus-dotnet-get-started-with-queues/new-send-project.png" alt-text="Screenshot of the Create a new project dialog box with C# and Console selected.":::
7879
1. Enter **TopicSender** for the project name, **ServiceBusTopicQuickStart** for the solution name, and then select **Next**.
7980
1. On the **Additional information** page, select **Create** to create the solution and the project.
8081

@@ -252,15 +253,16 @@ This section shows you how to create a .NET console application to send messages
252253
1. Navigate to your Service Bus namespace.
253254
1. On the **Overview** page, in the bottom-middle pane, switch to the **Topics** tab, and select the Service Bus topic. In the following example, it's `mytopic`.
254255
255-
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/select-topic.png" alt-text="Select topic":::
256+
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/select-topic.png" alt-text="Screenshot of selecting a topic.":::
256257
1. On the **Service Bus Topic** page, In the **Messages** chart in the bottom **Metrics** section, you can see that there are three incoming messages for the topic. If you don't see the value, wait for a few minutes, and refresh the page to see the updated chart.
257258
258-
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/sent-messages-essentials.png" alt-text="Messages sent to the topic" lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/sent-messages-essentials.png":::
259-
4. Select the subscription in the bottom pane. In the following example, it's **S1**. On the **Service Bus Subscription** page, you see the **Active message count** as **3**. The subscription has received the three messages that you sent to the topic, but no receiver has picked them yet.
259+
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/sent-messages-essentials.png" alt-text="Screenshot of messages sent to the topic." lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/sent-messages-essentials.png":::
260+
1. Select the subscription in the bottom pane. In the following example, it's **S1**. On the **Service Bus Subscription** page, you see the **Active message count** as **3**. The subscription has received the three messages that you sent to the topic, but no receiver has picked them yet.
260261
261-
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page.png" alt-text="Messages received at the subscription" lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page.png":::
262+
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page.png" alt-text="Screenshot of messages received at the subscription." lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page.png":::
262263
263264
## Receive messages from a subscription
265+
264266
In this section, you create a .NET console application that receives messages from the subscription to the Service Bus topic.
265267
266268
> [!NOTE]
@@ -654,13 +656,11 @@ In this section, you add code to retrieve messages from the subscription.
654656
1. Check the portal again.
655657
- On the **Service Bus Topic** page, in the **Messages** chart, you see three incoming messages and three outgoing messages. If you don't see these numbers, wait for a few minutes, and refresh the page to see the updated chart.
656658
657-
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/messages-size-final.png" alt-text="Messages sent and received" lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/messages-size-final.png":::
659+
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/messages-size-final.png" alt-text="Screenshot of messages sent and received." lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/messages-size-final.png":::
658660
- On the **Service Bus Subscription** page, you see the **Active message count** as zero. It's because a receiver has received messages from this subscription and completed the messages.
659661
660-
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page-final.png" alt-text="Active message count at the subscription at the end" lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page-final.png":::
662+
:::image type="content" source="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page-final.png" alt-text="Screenshot of the active message count at the subscription at the end." lightbox="./media/service-bus-dotnet-how-to-use-topics-subscriptions/subscription-page-final.png":::
661663
662-
663-
664664
## Related content
665665
See the following documentation and samples:
666666

articles/service-bus-messaging/service-bus-quickstart-topics-subscriptions-portal.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
---
2-
title: Use the Azure portal to create Service Bus topics and subscriptions
3-
description: 'Quickstart: In this quickstart, you learn how to create a Service Bus topic and subscriptions to that topic by using the Azure portal.'
2+
title: Create Service Bus Topics and Subscriptions in Azure
3+
description: "Quickstart: In this quickstart, you learn how to create a Service Bus topic and subscriptions to that topic by using the Azure portal."
44
author: spelluru
55
ms.author: spelluru
6-
ms.date: 12/11/2024
6+
ms.date: 02/13/2026
77
ms.topic: quickstart
88
ms.custom: mode-ui
99
#Customer intent: In a retail scenario, how do I update inventory assortment and send a set of messages from the back office to the stores?
1010
---
1111

1212
# Use the Azure portal to create a Service Bus topic and subscriptions to the topic
13+
1314
In this quickstart, you use the Azure portal to create a Service Bus topic and then create subscriptions to that topic.
1415

1516
## What are Service Bus topics and subscriptions?
16-
Service Bus topics and subscriptions support a *publish/subscribe* messaging communication model. When you use topics and subscriptions, components of a distributed application don't communicate directly with each other; instead they exchange messages via a topic, which acts as an intermediary.
1717

18-
:::image type="content" source="./media/service-bus-java-how-to-use-topics-subscriptions/sb-topics-01.png" alt-text="Image showing how topics and subscriptions work.":::
18+
Service Bus topics and subscriptions support a *publish/subscribe* communication model. With this pattern, components of a distributed application don't communicate directly with each other. Instead, they exchange messages through a topic, which acts as an intermediary.
19+
20+
:::image type="content" source="./media/service-bus-java-how-to-use-topics-subscriptions/service-bus-topics-subscriptions.png" alt-text="Diagram that shows how topics and subscriptions work." lightbox="./media/service-bus-java-how-to-use-topics-subscriptions/service-bus-topics-subscriptions.png":::
21+
22+
Service Bus queues deliver each message to a single consumer. In contrast, topics and subscriptions provide one-to-many communication using a publish/subscribe pattern. You can register multiple subscriptions to a single topic. When a message is sent to the topic, each subscription receives its own copy to process independently.
1923

20-
In contrast with Service Bus queues, in which each message is processed by a single consumer, topics and subscriptions provide a one-to-many form of communication, using a publish/subscribe pattern. It's possible to register multiple subscriptions to a topic. When a message is sent to a topic, it's then made available to each subscription to handle/process independently. A subscription to a topic resembles a virtual queue that receives copies of the messages that were sent to the topic. You can optionally register filter rules for a topic on subscriptions, which allows you to filter or restrict which messages to a topic are received by which topic subscriptions.
24+
A subscription works like a virtual queue that receives copies of messages sent to the topic. You can also define filter rules on a subscription to control which messages it receives.
2125

22-
Service Bus topics and subscriptions enable you to scale to process a large number of messages across a large number of users and applications.
26+
Service Bus topics and subscriptions enable you to scale to process a large number of messages across many users and applications.
2327

2428
[!INCLUDE [service-bus-create-namespace-portal](./includes/service-bus-create-namespace-portal.md)]
2529

0 commit comments

Comments
 (0)