Skip to content

Commit

Permalink
Merge pull request #217 from dotnet/main
Browse files Browse the repository at this point in the history
✅ Merge `main` into `live`
  • Loading branch information
IEvangelist authored Dec 12, 2023
2 parents 7817280 + bad6d5a commit b55b564
Show file tree
Hide file tree
Showing 10 changed files with 78 additions and 24 deletions.
36 changes: 36 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 1 addition & 2 deletions docs/database/azure-cosmos-db-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Projects.ExampleProject>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.0-preview.1.23557.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.3" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.5.1" />
</ItemGroup>

Expand Down
Binary file modified docs/fundamentals/media/dashboard/projects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 23 additions & 4 deletions docs/fundamentals/setup-tooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

---
Expand Down Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.0-preview.1.23557.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.3" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.5.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.0-preview.1.23557.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.5.1-beta.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.5.1-beta.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.5.1-beta.1" />
Expand Down
Binary file modified docs/media/add-orchestrator-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.0-preview.1.23557.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0-alpha.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-beta.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.6.0-beta.3" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.6.0-rc.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.5.1" />
</ItemGroup>

Expand Down

0 comments on commit b55b564

Please sign in to comment.