Skip to content

Commit 3c68da3

Browse files
authored
Update migrate-to-passwordless-overview.md
1 parent 382491b commit 3c68da3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/passwordless/migration-guide/migrate-to-passwordless-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following code example demonstrates how to connect to Service Bus using pass
1515
A .NET application can pass an instance of `DefaultAzureCredential` into the constructor of a service client class. `DefaultAzureCredential` will automatically discover the credentials that are available in that environment.
1616

1717
```csharp
18-
ServiceBusClient serviceBusClient = new(
19-
new Uri($"https://{serviceBusNamespace}.blob.core.windows.net"),
18+
client = new ServiceBusClient(
19+
"<NAMESPACE-NAME>.servicebus.windows.net",
2020
new DefaultAzureCredential());
2121
```

0 commit comments

Comments
 (0)