Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in ServiceBus README example #5128

Merged
merged 2 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Then, in the _Program.cs_ file of `AppHost`, add a Service Bus connection and co
```csharp
var serviceBus = builder.ExecutionContext.IsPublishMode
? builder.AddAzureServiceBus("sb")
? builder.AddConnectionString("sb");
: builder.AddConnectionString("sb");

var myService = builder.AddProject<Projects.MyService>()
.WithReference(serviceBus);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Aspire.Azure.Storage.Blobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Then, in the _Program.cs_ file of `AppHost`, add a Blob Storage connection and c
```csharp
var blobs = builder.ExecutionContext.IsPublishMode
? builder.AddAzureStorage("storage").AddBlobs("blobs")
? builder.AddConnectionString("blobs");
: builder.AddConnectionString("blobs");

var myService = builder.AddProject<Projects.MyService>()
.WithReference(blobs);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Aspire.Azure.Storage.Queues/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Then, in the _Program.cs_ file of `AppHost`, add a Storage Queue connection and
```csharp
var queue = builder.ExecutionContext.IsPublishMode
? builder.AddAzureStorage("storage").AddQueues("queue")
? builder.AddConnectionString("queue");
: builder.AddConnectionString("queue");

var myService = builder.AddProject<Projects.MyService>()
.WithReference(queue);
Expand Down