From d89d1f6066ad323134287519b494949f5fcf1868 Mon Sep 17 00:00:00 2001 From: David Pine Date: Mon, 12 May 2025 15:47:44 -0500 Subject: [PATCH] Fixes #3224. Move Dapr to community toolkit --- .openpublishing.redirection.json | 4 ++++ .../{frameworks => community-toolkit}/dapr.md | 20 +++++++++++------- ...spire-dashboard-dapr-sidecar-resources.png | Bin .../Dapr.ApiService/Dapr.ApiService.csproj | 0 .../snippets/Dapr/Dapr.ApiService/Program.cs | 0 .../Properties/launchSettings.json | 0 .../appsettings.Development.json | 0 .../Dapr/Dapr.ApiService/appsettings.json | 0 .../Dapr/Dapr.AppHost/Dapr.AppHost.csproj | 0 .../snippets/Dapr/Dapr.AppHost/Program.cs | 0 .../Properties/launchSettings.json | 0 .../Dapr.AppHost/appsettings.Development.json | 0 .../Dapr/Dapr.AppHost/appsettings.json | 0 .../Dapr.ServiceDefaults.csproj | 0 .../Dapr/Dapr.ServiceDefaults/Extensions.cs | 0 .../Dapr/Dapr.Web/Components/App.razor | 0 .../Components/Layout/MainLayout.razor | 0 .../Components/Layout/MainLayout.razor.css | 0 .../Dapr.Web/Components/Layout/NavMenu.razor | 0 .../Components/Layout/NavMenu.razor.css | 0 .../Dapr.Web/Components/Pages/Counter.razor | 0 .../Dapr.Web/Components/Pages/Error.razor | 0 .../Dapr/Dapr.Web/Components/Pages/Home.razor | 0 .../Dapr.Web/Components/Pages/Weather.razor | 0 .../Dapr/Dapr.Web/Components/Routes.razor | 0 .../Dapr/Dapr.Web/Components/_Imports.razor | 0 .../snippets/Dapr/Dapr.Web/Dapr.Web.csproj | 0 .../snippets/Dapr/Dapr.Web/Program.cs | 0 .../Dapr.Web/Properties/launchSettings.json | 0 .../Dapr/Dapr.Web/WeatherApiClient.cs | 0 .../Dapr.Web/appsettings.Development.json | 0 .../snippets/Dapr/Dapr.Web/appsettings.json | 0 .../snippets/Dapr/Dapr.Web/wwwroot/app.css | 0 .../wwwroot/bootstrap/bootstrap.min.css | 0 .../wwwroot/bootstrap/bootstrap.min.css.map | 0 .../Dapr/Dapr.Web/wwwroot/favicon.png | Bin .../snippets/Dapr/Dapr.sln | 0 docs/index.yml | 2 +- docs/reference/aspire-faq.yml | 2 +- docs/toc.yml | 8 ++----- 40 files changed, 20 insertions(+), 16 deletions(-) rename docs/{frameworks => community-toolkit}/dapr.md (90%) rename docs/{frameworks => community-toolkit}/media/aspire-dashboard-dapr-sidecar-resources.png (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ApiService/Dapr.ApiService.csproj (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ApiService/Program.cs (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ApiService/Properties/launchSettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ApiService/appsettings.Development.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ApiService/appsettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.AppHost/Program.cs (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.AppHost/Properties/launchSettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.AppHost/appsettings.Development.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.AppHost/appsettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ServiceDefaults/Dapr.ServiceDefaults.csproj (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.ServiceDefaults/Extensions.cs (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/App.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor.css (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor.css (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Pages/Counter.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Pages/Error.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Pages/Home.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Pages/Weather.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/Routes.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Components/_Imports.razor (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Dapr.Web.csproj (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Program.cs (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/Properties/launchSettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/WeatherApiClient.cs (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/appsettings.Development.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/appsettings.json (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/wwwroot/app.css (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css.map (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.Web/wwwroot/favicon.png (100%) rename docs/{frameworks => community-toolkit}/snippets/Dapr/Dapr.sln (100%) diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index 3d76ff6e9a..3118934ef6 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -283,6 +283,10 @@ { "source_path_from_root": "/docs/deployment/azure/local-provisioning.md", "redirect_url": "/dotnet/aspire/azure/local-provisioning" + }, + { + "source_path_from_root": "/docs/frameworks/dapr.md", + "redirect_url": "/dotnet/aspire/azure/dapr" } ] } diff --git a/docs/frameworks/dapr.md b/docs/community-toolkit/dapr.md similarity index 90% rename from docs/frameworks/dapr.md rename to docs/community-toolkit/dapr.md index 0c3d51f446..343dbdf061 100644 --- a/docs/frameworks/dapr.md +++ b/docs/community-toolkit/dapr.md @@ -1,12 +1,16 @@ --- title: NET Aspire Dapr integration description: Learn how to use the .NET Aspire Dapr integration, which can configure and orchestrate Dapr from a .NET Aspire app host project. -ms.date: 01/16/2025 +ms.date: 05/12/2025 uid: frameworks/dapr --- # .NET Aspire Dapr integration +[!INCLUDE [includes-hosting](../includes/includes-hosting.md)] + +[!INCLUDE [banner](includes/banner.md)] + [Distributed Application Runtime (Dapr)](https://docs.dapr.io/) offers developer APIs that serve as a conduit for interacting with other services and dependencies and abstract the application from the specifics of those services and dependencies. Dapr and .NET Aspire can work together to improve your local development experience. By using Dapr with .NET Aspire, you can focus on writing and implementing .NET-based distributed applications instead of local on-boarding. In this guide, you'll learn how to take advantage of Dapr's abstraction and .NET Aspire's opinionated configuration of cloud technologies to build simple, portable, resilient, and secured microservices at scale. @@ -30,9 +34,9 @@ At first sight Dapr and .NET Aspire may look like they have overlapping function Dapr provides many [built-in components](https://docs.dapr.io/concepts/components-concept), and when you use Dapr with .NET Aspire you can easily explore and configure these components. Don't confuse these components with .NET Aspire integrations. For example, consider the following: -- [Dapr—State stores](https://docs.dapr.io/concepts/components-concept/#state-stores): Call to add a configured state store to your .NET Aspire project. -- [Dapr—Pub Sub](https://docs.dapr.io/concepts/components-concept/#pubsub-brokers): Call to add a configured pub sub to your .NET Aspire project. -- Dapr—Components: Call to add a configured integration to your .NET Aspire project. +- [Dapr—State stores](https://docs.dapr.io/concepts/components-concept/#state-stores): Call `AddDaprStateStore` to add a configured state store to your .NET Aspire project. +- [Dapr—Pub Sub](https://docs.dapr.io/concepts/components-concept/#pubsub-brokers): Call `AddDaprPubSub` to add a configured pub sub to your .NET Aspire project. +- Dapr—Components: Call `AddDaprComponent` to add a configured integration to your .NET Aspire project. ## Install Dapr @@ -47,18 +51,18 @@ This integration requires Dapr version 1.13 or later. To install Dapr, see [Inst ## Hosting integration -In your .NET Aspire solution, to integrate Dapr and access its types and APIs, add the [📦 Aspire.Hosting.Dapr](https://www.nuget.org/packages/Aspire.Hosting.Dapr) NuGet package in the [app host](xref:dotnet/aspire/app-host) project. +In your .NET Aspire solution, to integrate Dapr and access its types and APIs, add the [📦 CommunityToolkit.Aspire.Hosting.Dapr](https://www.nuget.org/packages/CommunityToolkit.Aspire.Hosting.Dapr) NuGet package in the [app host](xref:dotnet/aspire/app-host) project. ### [.NET CLI](#tab/dotnet-cli) ```dotnetcli -dotnet add package Aspire.Hosting.Dapr +dotnet add package CommunityToolkit.Aspire.Hosting.Dapr ``` ### [PackageReference](#tab/package-reference) ```xml - ``` @@ -70,7 +74,7 @@ For more information, see [dotnet add package](/dotnet/core/tools/dotnet-add-pac Dapr uses the [sidecar pattern](https://docs.dapr.io/concepts/dapr-services/sidecar/). The Dapr sidecar runs alongside your app as a lightweight, portable, and stateless HTTP server that listens for incoming HTTP requests from your app. -To add a sidecar to a .NET Aspire resource, call the method on it. The `appId` parameter is the unique identifier for the Dapr application, but it's optional. If you don't provide an `appId`, the parent resource name is used instead. +To add a sidecar to a .NET Aspire resource, call the `WithDaprSidecar` method on it. The `appId` parameter is the unique identifier for the Dapr application, but it's optional. If you don't provide an `appId`, the parent resource name is used instead. :::code language="csharp" source="snippets/Dapr/Dapr.AppHost/Program.cs" range="1-7" highlight="7"::: diff --git a/docs/frameworks/media/aspire-dashboard-dapr-sidecar-resources.png b/docs/community-toolkit/media/aspire-dashboard-dapr-sidecar-resources.png similarity index 100% rename from docs/frameworks/media/aspire-dashboard-dapr-sidecar-resources.png rename to docs/community-toolkit/media/aspire-dashboard-dapr-sidecar-resources.png diff --git a/docs/frameworks/snippets/Dapr/Dapr.ApiService/Dapr.ApiService.csproj b/docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Dapr.ApiService.csproj similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ApiService/Dapr.ApiService.csproj rename to docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Dapr.ApiService.csproj diff --git a/docs/frameworks/snippets/Dapr/Dapr.ApiService/Program.cs b/docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Program.cs similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ApiService/Program.cs rename to docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Program.cs diff --git a/docs/frameworks/snippets/Dapr/Dapr.ApiService/Properties/launchSettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Properties/launchSettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ApiService/Properties/launchSettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.ApiService/Properties/launchSettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.ApiService/appsettings.Development.json b/docs/community-toolkit/snippets/Dapr/Dapr.ApiService/appsettings.Development.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ApiService/appsettings.Development.json rename to docs/community-toolkit/snippets/Dapr/Dapr.ApiService/appsettings.Development.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.ApiService/appsettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.ApiService/appsettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ApiService/appsettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.ApiService/appsettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj b/docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj rename to docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Dapr.AppHost.csproj diff --git a/docs/frameworks/snippets/Dapr/Dapr.AppHost/Program.cs b/docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Program.cs similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.AppHost/Program.cs rename to docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Program.cs diff --git a/docs/frameworks/snippets/Dapr/Dapr.AppHost/Properties/launchSettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Properties/launchSettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.AppHost/Properties/launchSettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.AppHost/Properties/launchSettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.AppHost/appsettings.Development.json b/docs/community-toolkit/snippets/Dapr/Dapr.AppHost/appsettings.Development.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.AppHost/appsettings.Development.json rename to docs/community-toolkit/snippets/Dapr/Dapr.AppHost/appsettings.Development.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.AppHost/appsettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.AppHost/appsettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.AppHost/appsettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.AppHost/appsettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.ServiceDefaults/Dapr.ServiceDefaults.csproj b/docs/community-toolkit/snippets/Dapr/Dapr.ServiceDefaults/Dapr.ServiceDefaults.csproj similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ServiceDefaults/Dapr.ServiceDefaults.csproj rename to docs/community-toolkit/snippets/Dapr/Dapr.ServiceDefaults/Dapr.ServiceDefaults.csproj diff --git a/docs/frameworks/snippets/Dapr/Dapr.ServiceDefaults/Extensions.cs b/docs/community-toolkit/snippets/Dapr/Dapr.ServiceDefaults/Extensions.cs similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.ServiceDefaults/Extensions.cs rename to docs/community-toolkit/snippets/Dapr/Dapr.ServiceDefaults/Extensions.cs diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/App.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/App.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/App.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/App.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor.css b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor.css similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor.css rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/MainLayout.razor.css diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor.css b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor.css similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor.css rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Layout/NavMenu.razor.css diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Counter.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Counter.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Counter.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Counter.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Error.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Error.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Error.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Error.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Home.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Home.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Home.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Home.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Weather.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Weather.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Pages/Weather.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Pages/Weather.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/Routes.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Routes.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/Routes.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/Routes.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Components/_Imports.razor b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/_Imports.razor similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Components/_Imports.razor rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Components/_Imports.razor diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Dapr.Web.csproj b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Dapr.Web.csproj similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Dapr.Web.csproj rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Dapr.Web.csproj diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Program.cs b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Program.cs similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Program.cs rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Program.cs diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/Properties/launchSettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.Web/Properties/launchSettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/Properties/launchSettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/Properties/launchSettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/WeatherApiClient.cs b/docs/community-toolkit/snippets/Dapr/Dapr.Web/WeatherApiClient.cs similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/WeatherApiClient.cs rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/WeatherApiClient.cs diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/appsettings.Development.json b/docs/community-toolkit/snippets/Dapr/Dapr.Web/appsettings.Development.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/appsettings.Development.json rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/appsettings.Development.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/appsettings.json b/docs/community-toolkit/snippets/Dapr/Dapr.Web/appsettings.json similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/appsettings.json rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/appsettings.json diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/app.css b/docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/app.css similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/app.css rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/app.css diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css b/docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css.map b/docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css.map rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/favicon.png b/docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/favicon.png similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.Web/wwwroot/favicon.png rename to docs/community-toolkit/snippets/Dapr/Dapr.Web/wwwroot/favicon.png diff --git a/docs/frameworks/snippets/Dapr/Dapr.sln b/docs/community-toolkit/snippets/Dapr/Dapr.sln similarity index 100% rename from docs/frameworks/snippets/Dapr/Dapr.sln rename to docs/community-toolkit/snippets/Dapr/Dapr.sln diff --git a/docs/index.yml b/docs/index.yml index 2904479d1b..226aa4c500 100644 --- a/docs/index.yml +++ b/docs/index.yml @@ -177,7 +177,7 @@ conceptualContent: url: /samples/dotnet/aspire-samples/orleans-voting-sample-app-on-aspire/ - itemType: overview text: Use Dapr with .NET Aspire - url: frameworks/dapr.md + url: community-toolkit/dapr.md - itemType: sample text: Dapr integration sample url: https://github.com/CommunityToolkit/Aspire/tree/main/examples/dapr diff --git a/docs/reference/aspire-faq.yml b/docs/reference/aspire-faq.yml index f0f3467861..c77d713bf4 100644 --- a/docs/reference/aspire-faq.yml +++ b/docs/reference/aspire-faq.yml @@ -78,7 +78,7 @@ sections: Where Dapr abstracts some of the underlying cloud platform, .NET Aspire provides opinionated configuration around the underlying cloud technologies without abstracting them. A .NET-based application that uses Dapr can use .NET Aspire to orchestrate the local developer inner loop and streamline deployment. .NET Aspire includes extensions that support the launching of Dapr side-car processes during the inner loop. - For more information, see [Use Dapr with .NET Aspire](../frameworks/dapr.md) and the corresponding [Dapr sample app](https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithDapr) in the .NET Aspire sample repository. + For more information, see [Use Dapr with .NET Aspire](../community-toolkit/dapr.md) and the corresponding [Dapr sample app](https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithDapr) in the .NET Aspire sample repository. - question: | How does .NET Aspire differ from Project Tye? diff --git a/docs/toc.yml b/docs/toc.yml index 8f950b4999..f7b6d48e15 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -218,12 +218,6 @@ items: href: /dotnet/api/?term=Aspire.Hosting.Azure&view=dotnet-aspire-9.2&preserve-view=true - name: Aspire.Azure API reference href: /dotnet/api/?term=Aspire.Azure&view=dotnet-aspire-9.2&preserve-view=true - - name: Dapr - items: - - name: Overview - href: frameworks/dapr.md - - name: Dapr integration sample - href: https://github.com/CommunityToolkit/Aspire/tree/main/examples/dapr - name: Elasticsearch displayName: elasticsearch,search href: search/elasticsearch-integration.md @@ -323,6 +317,8 @@ items: href: community-toolkit/hosting-azure-static-web-apps.md - name: Bun apps href: community-toolkit/hosting-bun.md + - name: Dapr + href: community-toolkit/dapr.md - name: Deno apps href: community-toolkit/hosting-deno.md - name: Go apps