diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2c86e95f5a..f93ccb8367 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,6 +8,42 @@ updates: interval: "weekly" day: "wednesday" open-pull-requests-limit: 10 + - package-ecosystem: "nuget" + directory: "/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.AppHost" #AspireSQLEFCore.AppHost.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + - package-ecosystem: "nuget" + directory: "/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.ServiceDefaults" #AspireSQLEFCore.ServiceDefaults.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + - package-ecosystem: "nuget" + directory: "/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore" #AspireSQLEFCore.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + - package-ecosystem: "nuget" + directory: "/docs/fundamentals/snippets/components/AspireApp/AspireApp.AppHost" #AspireApp.AppHost.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + - package-ecosystem: "nuget" + directory: "/docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults" #AspireApp.ServiceDefaults.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 + - package-ecosystem: "nuget" + directory: "/docs/fundamentals/snippets/components/AspireApp/WorkerService" #WorkerService.csproj + schedule: + interval: "weekly" + day: "wednesday" + open-pull-requests-limit: 5 - package-ecosystem: "nuget" directory: "/docs/get-started/snippets/quickstart/AspireSample/AspireSample.AppHost" #AspireSample.AppHost.csproj schedule: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 7192e19385..07675e8343 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: issues: write steps: - - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e with: start-date: "2022-03-01T00:00:00Z" # ISO 8601 or RFC 2822 repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/database/azure-cosmos-db-component.md b/docs/database/azure-cosmos-db-component.md index 856028c3a2..6b35fc2ac0 100644 --- a/docs/database/azure-cosmos-db-component.md +++ b/docs/database/azure-cosmos-db-component.md @@ -134,8 +134,7 @@ In your orchestrator project, register the .NET Aspire Azure Cosmos DB component ```csharp // Service registration -var cosmosdb = builder.AddAzureCosmosDB("cdb") - .AddDatabase("cosmosdb"); +var cosmosdb = builder.AddAzureCosmosDB("cdb"); // Service consumption var exampleProject = builder.AddProject() diff --git a/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.ServiceDefaults/AspireSQLEFCore.ServiceDefaults.csproj b/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.ServiceDefaults/AspireSQLEFCore.ServiceDefaults.csproj index 00e0d1f1f9..fd9dd6f7d4 100644 --- a/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.ServiceDefaults/AspireSQLEFCore.ServiceDefaults.csproj +++ b/docs/database/snippets/tutorial/aspiresqlefcore/AspireSQLEFCore.ServiceDefaults/AspireSQLEFCore.ServiceDefaults.csproj @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/docs/fundamentals/media/dashboard/projects.png b/docs/fundamentals/media/dashboard/projects.png index dcd192f8ab..febf30059b 100644 Binary files a/docs/fundamentals/media/dashboard/projects.png and b/docs/fundamentals/media/dashboard/projects.png differ diff --git a/docs/fundamentals/setup-tooling.md b/docs/fundamentals/setup-tooling.md index 9fc881f9f7..7e2185bed9 100644 --- a/docs/fundamentals/setup-tooling.md +++ b/docs/fundamentals/setup-tooling.md @@ -38,20 +38,39 @@ To install the .NET Aspire workload in Visual Studio 2022 Preview, use the Visua 1. On the **Installation details** panel, select **.NET Aspire SDK (Preview)**. 1. Select **Modify** to install the .NET Aspire component. -:::image type="content" source="../media/install-aspire-workload-visual-studio.png" lightbox="../media/install-aspire-workload-visual-studio.png" alt-text="A screenshot showing how to install the .NET Aspire workload with the Visual Studio installer."::: + :::image type="content" source="../media/install-aspire-workload-visual-studio.png" lightbox="../media/install-aspire-workload-visual-studio.png" alt-text="A screenshot showing how to install the .NET Aspire workload with the Visual Studio installer."::: + +1. To ensure you install the latest version of .NET Aspire, run these commands: + + ```dotnetcli + dotnet workload update + dotnet workload install aspire + ``` + +1. To check your version of .NET Aspire, run this command: + + ```dotnetcli + dotnet workload list + ``` # [.NET CLI](#tab/dotnet-cli) +To ensure that you install the latest version of the .NET Aspire workload, it's best to use the following [dotnet workload update](/dotnet/core/tools/dotnet-workload-update) command before you install .NET Aspire: + +```dotnetcli +dotnet workload update +``` + To install the .NET Aspire workload from the .NET CLI, use the [dotnet workload install](/dotnet/core/tools/dotnet-workload-install) command: ```dotnetcli dotnet workload install aspire ``` -If you've already installed the .NET Aspire workload, it's best to ensure that you're using the latest version. To ensure that you are, use the following [dotnet workload update](/dotnet/core/tools/dotnet-workload-update) command: +To check your version of .NET Aspire, run this command: ```dotnetcli -dotnet workload update +dotnet workload list ``` --- @@ -80,7 +99,7 @@ Use Visual Studio or the .NET CLI to create new apps using these project templat To create a .NET Aspire project using Visual Studio, search for *Aspire* in the Visual Studio new project window and select your desired template. -:::image type="content" source="../media/aspire-templates.png" lightbox="../media/aspire-templates.png" alt-text="The .NET Aspire project templates in VIsual Studio."::: +:::image type="content" source="../media/aspire-templates.png" lightbox="../media/aspire-templates.png" alt-text="The .NET Aspire project templates in Visual Studio."::: # [.NET CLI](#tab/dotnet-cli) diff --git a/docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj b/docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj index 00e0d1f1f9..fd9dd6f7d4 100644 --- a/docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj +++ b/docs/fundamentals/snippets/components/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/docs/get-started/snippets/quickstart/AspireSample/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj b/docs/get-started/snippets/quickstart/AspireSample/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj index 6ec2b95104..e016b7abae 100644 --- a/docs/get-started/snippets/quickstart/AspireSample/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj +++ b/docs/get-started/snippets/quickstart/AspireSample/AspireSample.ServiceDefaults/AspireSample.ServiceDefaults.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/docs/media/add-orchestrator-app.png b/docs/media/add-orchestrator-app.png index 7b72d17a8f..bcdbf4c2e8 100644 Binary files a/docs/media/add-orchestrator-app.png and b/docs/media/add-orchestrator-app.png differ diff --git a/docs/storage/snippets/tutorial/AspireStorage/AspireStorage.ServiceDefaults/AspireStorage.ServiceDefaults.csproj b/docs/storage/snippets/tutorial/AspireStorage/AspireStorage.ServiceDefaults/AspireStorage.ServiceDefaults.csproj index 00e0d1f1f9..fd9dd6f7d4 100644 --- a/docs/storage/snippets/tutorial/AspireStorage/AspireStorage.ServiceDefaults/AspireStorage.ServiceDefaults.csproj +++ b/docs/storage/snippets/tutorial/AspireStorage/AspireStorage.ServiceDefaults/AspireStorage.ServiceDefaults.csproj @@ -13,11 +13,11 @@ - - - - - + + + + +