Skip to content

Commit fc98308

Browse files
committed
Fixed a few bits.
1 parent 7d38685 commit fc98308

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/service-bus-messaging/service-bus-performance-improvements.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ AMQP is the most efficient, because it maintains the connection to Service Bus.
3939
There are two supported Azure Service Bus .NET SDKs. Their APIs are very similar, and it can be confusing which one to choose. Refer to the following table to help guide your decision. We suggest the Microsoft.Azure.ServiceBus SDK as it is more modern, performant, and is cross-platform compatible. Additionally, it supports AMQP over WebSockets and is part of the Azure .NET SDK collection of open-source projects.
4040

4141
| NuGet Package | Primary Namespace(s) | Minimum Platform(s) | Protocol(s) |
42-
|---------------|-------------------|-------------|-------------|
42+
|---------------|----------------------|---------------------|-------------|
4343
| <a href="https://www.nuget.org/packages/Microsoft.Azure.ServiceBus" target="_blank">Microsoft.Azure.ServiceBus <span class="docon docon-navigate-external x-hidden-focus"></span></a> | `Microsoft.Azure.ServiceBus`<br>`Microsoft.Azure.ServiceBus.Management` | .NET Core 2.0<br>.NET Framework 4.6.1<br>Mono 5.4<br>Xamarin.iOS 10.14<br>Xamarin.Mac 3.8<br>Xamarin.Android 8.0<br>Universal Windows Platform 10.0.16299 | AMQP<br>HTTP |
4444
| <a href="https://www.nuget.org/packages/WindowsAzure.ServiceBus" target="_blank">WindowsAzure.ServiceBus <span class="docon docon-navigate-external x-hidden-focus"></span></a> | `Microsoft.ServiceBus`<br>`Microsoft.ServiceBus.Messaging` | .NET Framework 4.6.1 | AMQP<br>SBMP<br>HTTP |
4545

@@ -229,7 +229,7 @@ var queueDescription = new QueueDescription(path)
229229
{
230230
EnableBatchedOperations = false
231231
};
232-
var managementClient = new ManagementClient(connectionString);
232+
var queue = await managementClient.CreateQueueAsync(queueDescription);
233233
```
234234
235235
For more information, see the following:
@@ -242,11 +242,11 @@ For more information, see the following:
242242
To disable batched store access, you'll need an instance of a `NamespaceManager`. Create a queue from a queue description that sets the `EnableBatchedOperations` property to `false`.
243243

244244
```csharp
245-
var queueDescription = new QueueDescription
245+
var queueDescription = new QueueDescription(path)
246246
{
247247
EnableBatchedOperations = false
248248
};
249-
var queue = namespaceManager.CreateQueue(qd);
249+
var queue = namespaceManager.CreateQueue(queueDescription);
250250
```
251251

252252
For more information, see the following:

0 commit comments

Comments
 (0)