From bb77d404e4b8e17786e7a52e890cb6397c32f016 Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 5 Jun 2024 14:08:36 -0500 Subject: [PATCH 1/2] Minor clean up, and verify issue is fixed for #719 --- docs/storage/azure-storage-components.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/storage/azure-storage-components.md b/docs/storage/azure-storage-components.md index 7fa1e1fb2c..ec34e9e592 100644 --- a/docs/storage/azure-storage-components.md +++ b/docs/storage/azure-storage-components.md @@ -61,7 +61,6 @@ az storage queue create -n tickets --account-name aspirestorage ``` :::zone-end - :::zone pivot="azure-portal,azure-cli" You also need to assign the following roles to the user account you are logged into Visual Studio with: @@ -70,7 +69,6 @@ You also need to assign the following roles to the user account you are logged i - Storage Queue Data Contributor - [Assign an Azure RBAC role](/azure/storage/queues/assign-azure-role-data-access?tabs=portal) :::zone-end - :::zone pivot="azure-developer-cli" The [Azure Developer CLI](/azure/developer/azure-developer-cli/overview) enables you to provision and deploy Azure resources using a template system. This tutorial provides a [complete template](https://github.com/Azure-Samples/dotnet-aspire-connect-storage.git) that provisions the required Azure resources and includes the completed sample application code. Run the following commands to initialize and run the template: @@ -158,7 +156,8 @@ Next, add a Worker Service project to the solution to retrieve and process messa Visual Studio adds the project to your solution and updates the _:::no-loc text="Program.cs":::_ file of the _AspireStorage.AppHost_ project with a new line of code: ```csharp -builder.AddProject("aspirestorage-workerservice"); +builder.AddProject( + "aspirestorage-workerservice"); ``` Visual Studio tooling added this line of code to register your new project with the object, which enables orchestration features. For more information, see [.NET Aspire orchestration overview](../fundamentals/app-host-overview.md). @@ -186,7 +185,8 @@ Visual Studio tooling added this line of code to register your new project with 1. Add the following line of code to the _:::no-loc text="Program.cs":::_ file in the **AspireStorage.AppHost** project: ```csharp - builder.AddProject("aspirestorage-workerservice"); + builder.AddProject( + "aspirestorage-workerservice"); ``` --- From 4358db70b70ff0e93eee1ea8abd972dad4639c17 Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 5 Jun 2024 14:09:28 -0500 Subject: [PATCH 2/2] Touch date --- docs/storage/azure-storage-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storage/azure-storage-components.md b/docs/storage/azure-storage-components.md index ec34e9e592..a5f801e9e7 100644 --- a/docs/storage/azure-storage-components.md +++ b/docs/storage/azure-storage-components.md @@ -1,7 +1,7 @@ --- title: Connect an ASP.NET Core app to .NET Aspire storage components description: Learn how to connect an ASP.NET Core app to .NET Aspire storage components. -ms.date: 05/22/2024 +ms.date: 06/05/2024 ms.topic: tutorial zone_pivot_groups: azure-storage-mechanism ms.custom: devx-track-extended-azdevcli