-
Notifications
You must be signed in to change notification settings - Fork 128
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
Configure Azurite container ports code example doesn't need two arguments for WithBlobPort, WithTablePort and WithQueuePort #2553
Labels
doc-bug
Problem with the content; needs to be fixed [org][type][category]
dotnet-aspire/svc
in-pr
okr-quality
Content-health KR: Concerns article defects/freshness or build warnings.
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Comments
So this could be replaced with:
|
Yes |
ianrathbone
added a commit
to ianrathbone/docs-aspire
that referenced
this issue
Feb 7, 2025
Fixes dotnet#2553 Update Azurite container ports code example to use only one argument for `WithBlobPort`, `WithTablePort`, and `WithQueuePort`. * Remove the string arguments representing the type configured from the code example in `docs/storage/azure-storage-blobs-integration.md`. * Specify only the port numbers for `WithBlobPort`, `WithQueuePort`, and `WithTablePort` in the code example. * Update the code example in `docs/storage/includes/storage-app-host.md` to reflect the changes. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/dotnet/docs-aspire/issues/2553?shareId=XXXX-XXXX-XXXX-XXXX).
IEvangelist
pushed a commit
that referenced
this issue
Feb 10, 2025
Fixes #2553 Update Azurite container ports code example to use only one argument for `WithBlobPort`, `WithTablePort`, and `WithQueuePort`. * Remove the string arguments representing the type configured from the code example in `docs/storage/azure-storage-blobs-integration.md`. * Specify only the port numbers for `WithBlobPort`, `WithQueuePort`, and `WithTablePort` in the code example. * Update the code example in `docs/storage/includes/storage-app-host.md` to reflect the changes. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/dotnet/docs-aspire/issues/2553?shareId=XXXX-XXXX-XXXX-XXXX).
IEvangelist
pushed a commit
that referenced
this issue
Feb 11, 2025
Fixes #2553 Update Azurite container ports code example to use only one argument for `WithBlobPort`, `WithTablePort`, and `WithQueuePort`. * Remove the string arguments representing the type configured from the code example in `docs/storage/azure-storage-blobs-integration.md`. * Specify only the port numbers for `WithBlobPort`, `WithQueuePort`, and `WithTablePort` in the code example. * Update the code example in `docs/storage/includes/storage-app-host.md` to reflect the changes. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/dotnet/docs-aspire/issues/2553?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
doc-bug
Problem with the content; needs to be fixed [org][type][category]
dotnet-aspire/svc
in-pr
okr-quality
Content-health KR: Concerns article defects/freshness or build warnings.
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Typo
Description
In the section for configuring container ports on Azurite - the code specifies a string for the type configured. This isn't needed in v9 and you can just specify the port
var builder = DistributedApplication.CreateBuilder(args);
var storage = builder.AddAzureStorage("storage").RunAsEmulator(
azurite =>
{
azurite.WithBlobPort("blob", 27000)
.WithQueuePort("queue", 27001)
.WithTablePort("table", 27002);
});
// After adding all resources, run the app...
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/storage/azure-storage-blobs-integration?tabs=dotnet-cli
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/storage/azure-storage-blobs-integration.md
Document Version Independent Id
9ef62ce9-fb4b-42c8-0914-338a6f4cd5fc
Article author
@IEvangelist
Related Issues
Associated WorkItem - 372042
The text was updated successfully, but these errors were encountered: