Skip to content

βœ… Merge main into live #3113

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

Merged
merged 29 commits into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
512efb2
Update dotnet-aspire-9.2.md (#3081)
davidfowl Apr 14, 2025
138f06c
.NET dependabot-bot automated PR. (#3083)
github-actions[bot] Apr 14, 2025
bfed438
Bump Swashbuckle.AspNetCore (#3086)
dependabot[bot] Apr 14, 2025
582a931
Bump Swashbuckle.AspNetCore (#3087)
dependabot[bot] Apr 14, 2025
930a836
Bump Swashbuckle.AspNetCore (#3088)
dependabot[bot] Apr 14, 2025
2838b92
Bump Swashbuckle.AspNetCore (#3089)
dependabot[bot] Apr 14, 2025
8946da3
Bump Swashbuckle.AspNetCore (#3090)
dependabot[bot] Apr 14, 2025
314e525
Bump Swashbuckle.AspNetCore (#3092)
dependabot[bot] Apr 14, 2025
113c304
Bump Swashbuckle.AspNetCore (#3095)
dependabot[bot] Apr 14, 2025
bcee25f
Bump Scalar.AspNetCore (#3094)
dependabot[bot] Apr 14, 2025
4f33d46
Bump Swashbuckle.AspNetCore (#3091)
dependabot[bot] Apr 14, 2025
28939d5
Bump Scalar.AspNetCore (#3093)
dependabot[bot] Apr 14, 2025
4e5d47e
Bump Swashbuckle.AspNetCore (#3098)
dependabot[bot] Apr 14, 2025
0e8e354
Bump Scalar.AspNetCore (#3096)
dependabot[bot] Apr 14, 2025
179d6b5
Bump Swashbuckle.AspNetCore (#3099)
dependabot[bot] Apr 14, 2025
43553ae
Bump the dotnet group (#3100)
dependabot[bot] Apr 14, 2025
e01ea9e
Bump Swashbuckle.AspNetCore (#3097)
dependabot[bot] Apr 14, 2025
5b81585
Bump the dotnet group (#3101)
dependabot[bot] Apr 14, 2025
91fbbc9
Bump the dotnet group (#3103)
dependabot[bot] Apr 14, 2025
70abb6b
Bump the dotnet group (#3104)
dependabot[bot] Apr 14, 2025
f38237d
Bump the dotnet group (#3102)
dependabot[bot] Apr 14, 2025
c047a7e
Bump the dotnet group (#3106)
dependabot[bot] Apr 14, 2025
6ca9757
Bump Swashbuckle.AspNetCore (#3107)
dependabot[bot] Apr 14, 2025
d10cda7
Bump the dotnet group (#3105)
dependabot[bot] Apr 14, 2025
36a228b
Bump the dotnet group (#3108)
dependabot[bot] Apr 14, 2025
a1c5027
Bump the dotnet group (#3109)
dependabot[bot] Apr 14, 2025
f58f98f
Bump the dotnet group (#3110)
dependabot[bot] Apr 14, 2025
0d11859
Bump the dotnet group (#3111)
dependabot[bot] Apr 14, 2025
0f02a31
Bump Microsoft.AspNetCore.TestHost (#3112)
dependabot[bot] Apr 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 146 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,18 @@ updates:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/azure/snippets" #AppHost.Bicep.sln
directory: "/docs/azure/snippets/aca/AspireAca.AppHost" #AspireAca.AppHost.sln
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for solutions.
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/azure/snippets/bicep" #AppHost.Bicep.sln
schedule:
interval: "weekly"
day: "wednesday"
Expand Down Expand Up @@ -140,6 +151,17 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard" #aspire-dashboard.sln
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for solutions.
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/snippets/BrowserTelemetry" #BrowserTelemetry.sln
schedule:
Expand All @@ -162,6 +184,17 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/custom-urls/AspireApp.Api" #AspireApp.Api.sln
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for solutions.
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/healthz/Healthz.ServiceDefaults" #healthz.sln
schedule:
Expand All @@ -173,6 +206,17 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/http-commands/AspireApp" #AspireApp.sln
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for solutions.
dotnet:
patterns:
- "*" # Prefer a single PR per solution update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/integrations/AspireApp" #AspireApp.sln
schedule:
Expand Down Expand Up @@ -405,7 +449,18 @@ updates:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/azure/snippets/AppHost.Bicep" #AppHost.Bicep.csproj
directory: "/docs/azure/snippets/aca/AspireAca.AppHost/AspireApp.AppHost" #AspireApp.AppHost.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/azure/snippets/bicep/AppHost.Bicep" #AppHost.Bicep.csproj
schedule:
interval: "weekly"
day: "wednesday"
Expand All @@ -416,7 +471,7 @@ updates:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/azure/snippets/WebHook.Api" #WebHook.Api.csproj
directory: "/docs/azure/snippets/bicep/WebHook.Api" #WebHook.Api.csproj
schedule:
interval: "weekly"
day: "wednesday"
Expand Down Expand Up @@ -778,6 +833,61 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard/Aspire.Dashboard.ScreenCapture" #Aspire.Dashboard.ScreenCapture.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard/AspireSample/AspireSample.ApiService" #AspireSample.ApiService.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard/AspireSample/AspireSample.AppHost" #AspireSample.AppHost.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard/AspireSample/AspireSample.ServiceDefaults" #AspireSample.ServiceDefaults.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/automation/aspire-dashboard/AspireSample/AspireSample.Web" #AspireSample.Web.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/dashboard/snippets/BrowserTelemetry/BrowserTelemetry.AppHost" #BrowserTelemetry.AppHost.csproj
schedule:
Expand Down Expand Up @@ -833,6 +943,39 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/custom-urls/AspireApp.AppHost" #AspireApp.AppHost.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/http-commands/AspireApp/AspireApp.Api" #AspireApp.Api.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/http-commands/AspireApp/AspireApp.AppHost" #AspireApp.AppHost.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/fundamentals/snippets/integrations/AspireApp/AspireApp.AppHost" #AspireApp.AppHost.csproj
schedule:
Expand Down
2 changes: 1 addition & 1 deletion docs/azure/snippets/bicep/WebHook.Api/WebHook.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Aspire.Hosting.Testing" Version="9.2.0" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.3" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.4" />
<PackageReference Include="Microsoft.Playwright" Version="1.51.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.3" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -10,13 +10,13 @@
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />

<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.3.0" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.4.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="9.2.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.11.2" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.11.2" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.11.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.11.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.11.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.3" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.7" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.13" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ο»Ώ<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand All @@ -11,8 +11,8 @@

<ItemGroup>
<PackageReference Include="Aspire.StackExchange.Redis.DistributedCaching" Version="9.2.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.3" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.13" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.30.2" />
<PackageReference Include="Microsoft.Azure.SignalR.Management" Version="1.30.2" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.4" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.8" />
<PackageReference Include="Scalar.AspNetCore" Version="2.1.13" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions docs/whats-new/dotnet-aspire-9.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ This new identity model is an important step toward more secure and maintainable

### πŸ”‘ Least-privilege role assignment functionality

.NET Aspire now supports APIs for modeling **least-privilege role assignments** when deploying to. This enables more secure defaults by allowing you to define exactly which roles each app needs for specific Azure resources.
.NET Aspire now supports APIs for modeling **least-privilege role assignments** when referencing Azure resources. This enables more secure defaults by allowing you to define exactly which roles each app needs for specific Azure resources.

```csharp
var builder = DistributedApplication.CreateBuilder(args);
Expand All @@ -381,15 +381,15 @@ Each container app automatically gets its own **managed identity**, and Aspire n

### 1️⃣ First-class Azure Key Vault Secret support

Aspire now supports `IAzureKeyVaultSecretReference`, a new primitive for modeling secrets directly in the app model. This replaces `BicepSecretOutputReference` and avoids creating a separate Key Vault per resource.
.NET Aspire now supports `IAzureKeyVaultSecretReference`, a new primitive for modeling secrets directly in the app model. This replaces `BicepSecretOutputReference` and gives finer grain control over Key Vault creation when using `AzureBicepResource`.

You can now:

- Add a shared Key Vault in C#
- Configure services that support keys (e.g., Redis, Cosmos DB) to store their secrets there
- Reference those secrets in your app as environment variables or via the Key Vault config provider

Use KeyVault directly in your api:
Use KeyVault directly in the "api" project:

```csharp
var builder = DistributedApplication.CreateBuilder(args);
Expand All @@ -400,7 +400,7 @@ var redis = builder.AddAzureRedis("redis")
.WithAccessKeyAuthentication(vault);

builder.AddProject<Projects.Api>("api")
.WithReference(redis);
.WithReference(vault);
```

Let the compute environment handle the secret management for you:
Expand All @@ -415,7 +415,7 @@ builder.AddProject<Projects.Api>("api")

**Previous behavior:**

`azd` created and managed secrets using a key vault per resource, with no visibility in the app model. Secrets were handled implicitly and couldn't be customized in C#.
`azd` created and managed secret outputs using a key vault per resource, with no visibility in the app model. These Key Vault resources were handled implicitly and couldn't be customized in C#.

**New behavior in 9.2:**

Expand Down
Loading