From df9b099ed2f99bcca1f735de6e463a702f2423b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:07:47 +0000 Subject: [PATCH 01/35] Bump MSTest (#42141) Bumps the dotnet group in /docs/core/tutorials/snippets/library-with-visual-studio/csharp with 1 update: [MSTest](https://github.com/microsoft/testfx). Updates `MSTest` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/StringLibraryTest/StringLibraryTest.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj index 5ed6c796bfe2c..bc57658fa0486 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTest/StringLibraryTest.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="MSTest" Version="3.5.1" /> + <PackageReference Include="MSTest" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> From 9ba39649f2b607f702d62d0a3260babe95345201 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:10:25 +0000 Subject: [PATCH 02/35] Bump Microsoft.Extensions.Diagnostics.Testing (#42143) Bumps the dotnet group in /docs/fundamentals/networking/telemetry/snippets/metrics with 1 update: [Microsoft.Extensions.Diagnostics.Testing](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Diagnostics.Testing` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.Testing dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../telemetry/snippets/metrics/HelloBuiltinMetrics.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/networking/telemetry/snippets/metrics/HelloBuiltinMetrics.csproj b/docs/fundamentals/networking/telemetry/snippets/metrics/HelloBuiltinMetrics.csproj index 2cd8de31c683f..dbd17a2559533 100644 --- a/docs/fundamentals/networking/telemetry/snippets/metrics/HelloBuiltinMetrics.csproj +++ b/docs/fundamentals/networking/telemetry/snippets/metrics/HelloBuiltinMetrics.csproj @@ -11,7 +11,7 @@ <PackageReference Include="OpenTelemetry.Exporter.Prometheus.HttpListener" Version="1.7.0-rc.1" /> <PackageReference Include = "Microsoft.Extensions.Http" Version = "8.0.0" /> <PackageReference Include="xunit" Version="2.9.0" /> - <PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="8.8.0" /> </ItemGroup> </Project> From 74fa12915f0149aa5eb7edecc96d6ffe0cad980b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:10:34 +0000 Subject: [PATCH 03/35] Bump Microsoft.SemanticKernel (#42145) Bumps the dotnet group in /docs/ai/tutorials/snippets/llm-eval with 1 update: [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel). Updates `Microsoft.SemanticKernel` from 1.16.2 to 1.17.1 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.16.2...dotnet-1.17.1) --- updated-dependencies: - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj b/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj index 169ad157b144b..267fa57cbc91b 100644 --- a/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj +++ b/docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj @@ -12,7 +12,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" /> - <PackageReference Include="Microsoft.SemanticKernel" Version="1.16.2" /> + <PackageReference Include="Microsoft.SemanticKernel" Version="1.17.1" /> </ItemGroup> </Project> From 2cdaa1a76cae84dfce901908eef6c69efe924fa2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:10:58 +0000 Subject: [PATCH 04/35] Bump Microsoft.NET.Build.Containers (#42144) Bumps the dotnet group in /docs/core/docker/snippets/7.0/Worker with 1 update: [Microsoft.NET.Build.Containers](https://github.com/dotnet/sdk-container-builds). Updates `Microsoft.NET.Build.Containers` from 8.0.303 to 8.0.400 - [Release notes](https://github.com/dotnet/sdk-container-builds/releases) - [Commits](https://github.com/dotnet/sdk-container-builds/commits) --- updated-dependencies: - dependency-name: Microsoft.NET.Build.Containers dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../docker/snippets/7.0/Worker/DotNet.ContainerImage.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/docker/snippets/7.0/Worker/DotNet.ContainerImage.csproj b/docs/core/docker/snippets/7.0/Worker/DotNet.ContainerImage.csproj index db3afed2ba7de..0414f2c25f41e 100644 --- a/docs/core/docker/snippets/7.0/Worker/DotNet.ContainerImage.csproj +++ b/docs/core/docker/snippets/7.0/Worker/DotNet.ContainerImage.csproj @@ -10,6 +10,6 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> - <PackageReference Include="Microsoft.NET.Build.Containers" Version="8.0.303" /> + <PackageReference Include="Microsoft.NET.Build.Containers" Version="8.0.400" /> </ItemGroup> </Project> From a0612dcc9933f1d6f05b42d63a8c328811268a64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:12:11 +0000 Subject: [PATCH 05/35] Bump Microsoft.SemanticKernel (#42146) Bumps the dotnet group in /docs/ai/how-to/snippets/semantic-kernel with 1 update: [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel). Updates `Microsoft.SemanticKernel` from 1.16.2 to 1.17.1 - [Release notes](https://github.com/microsoft/semantic-kernel/releases) - [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.16.2...dotnet-1.17.1) --- updated-dependencies: - dependency-name: Microsoft.SemanticKernel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj index 70420c6643e93..afee19b2cecc3 100644 --- a/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj +++ b/docs/ai/how-to/snippets/semantic-kernel/semantic-kernel.csproj @@ -15,7 +15,7 @@ <PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" /> - <PackageReference Include="Microsoft.SemanticKernel" Version="1.16.2" /> + <PackageReference Include="Microsoft.SemanticKernel" Version="1.17.1" /> <PackageReference Include="Microsoft.SemanticKernel.Connectors.AzureAISearch" Version="1.9.0-alpha" /> <PackageReference Include="Microsoft.SemanticKernel.Connectors.Redis" Version="1.9.0-alpha" /> <PackageReference Include="Microsoft.SemanticKernel.Plugins.Memory" Version="1.9.0-alpha" /> From 311456853d19c9a7ac57412cd2d401870bada687 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:14:03 +0000 Subject: [PATCH 06/35] Bump NUnit.Analyzers (#42142) Bumps the dotnet group in /samples/snippets/core/testing/unit-testing-using-nunit/csharp with 1 update: [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `NUnit.Analyzers` from 4.2.0 to 4.3.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.2.0...4.3.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/PrimeService.Tests/PrimeService.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj index ac2aedf77bf2f..f7875c7a57cd8 100644 --- a/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj +++ b/samples/snippets/core/testing/unit-testing-using-nunit/csharp/PrimeService.Tests/PrimeService.Tests.csproj @@ -12,7 +12,7 @@ <PackageReference Include="nunit" Version="4.1.0" /> <PackageReference Include="NUnit3TestAdapter" Version="4.6.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="NUnit.Analyzers" Version="4.2.0"> + <PackageReference Include="NUnit.Analyzers" Version="4.3.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference> From 29243eb7475bd4698d136872b36bcfb560f86e32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:19:55 +0000 Subject: [PATCH 07/35] Bump Microsoft.Extensions.Diagnostics.HealthChecks.Common (#42147) Bumps the dotnet group in /docs/core/diagnostics/snippets/lifetime-health-checks with 1 update: [Microsoft.Extensions.Diagnostics.HealthChecks.Common](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Common` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Common dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../lifetime-health-checks/lifetime-health-checks.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/diagnostics/snippets/lifetime-health-checks/lifetime-health-checks.csproj b/docs/core/diagnostics/snippets/lifetime-health-checks/lifetime-health-checks.csproj index 745a267a470de..be02697d89283 100644 --- a/docs/core/diagnostics/snippets/lifetime-health-checks/lifetime-health-checks.csproj +++ b/docs/core/diagnostics/snippets/lifetime-health-checks/lifetime-health-checks.csproj @@ -8,7 +8,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.Common" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.Common" Version="8.8.0" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> </ItemGroup> From 1e122ac0b3f7076b590b36c128fe7dcada653572 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:21:23 +0000 Subject: [PATCH 08/35] Bump the dotnet group (#42148) Bumps the dotnet group in /docs/core/extensions/snippets/configuration with 3 updates: [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore), [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/efcore). Updates `Microsoft.EntityFrameworkCore` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.EntityFrameworkCore.InMemory` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.EntityFrameworkCore` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.EntityFrameworkCore.SqlServer` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.EntityFrameworkCore` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore.InMemory dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore.SqlServer dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../configuration/custom-provider/custom-provider.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/core/extensions/snippets/configuration/custom-provider/custom-provider.csproj b/docs/core/extensions/snippets/configuration/custom-provider/custom-provider.csproj index def8f9a82a4fd..3b28a042bb8d3 100644 --- a/docs/core/extensions/snippets/configuration/custom-provider/custom-provider.csproj +++ b/docs/core/extensions/snippets/configuration/custom-provider/custom-provider.csproj @@ -9,9 +9,9 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7" /> - <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.7" /> - <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.7" /> + <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" /> + <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.8" /> + <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> </ItemGroup> From 7dde0bc0a2e2c9657589c8f02179291543b534f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:27:28 +0000 Subject: [PATCH 09/35] Bump Microsoft.ServiceFabric.Services (#42149) Bumps the dotnet group in /docs/orleans/deployment/snippets/service-fabric with 1 update: Microsoft.ServiceFabric.Services. Updates `Microsoft.ServiceFabric.Services` from 7.1.2175 to 7.1.2338 --- updated-dependencies: - dependency-name: Microsoft.ServiceFabric.Services dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../stateless/Orleans.ServiceFabric.Stateless.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj index f2893e96d4d0e..5c895fbf8efa6 100644 --- a/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj +++ b/docs/orleans/deployment/snippets/service-fabric/stateless/Orleans.ServiceFabric.Stateless.csproj @@ -13,7 +13,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.ServiceFabric.Services" Version="7.1.2175" /> + <PackageReference Include="Microsoft.ServiceFabric.Services" Version="7.1.2338" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> <PackageReference Include="Microsoft.Orleans.Server" Version="8.2.0" /> </ItemGroup> From 3d01643abf530843d58d6812c2968a4135fb7896 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:30:29 +0000 Subject: [PATCH 10/35] Bump Microsoft.Extensions.Diagnostics.ExceptionSummarization (#42150) Bumps the dotnet group in /docs/core/diagnostics/snippets/exception-summary with 1 update: [Microsoft.Extensions.Diagnostics.ExceptionSummarization](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Diagnostics.ExceptionSummarization` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.ExceptionSummarization dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../snippets/exception-summary/exception-summary.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/diagnostics/snippets/exception-summary/exception-summary.csproj b/docs/core/diagnostics/snippets/exception-summary/exception-summary.csproj index edcbb8e66f582..471f627c62433 100644 --- a/docs/core/diagnostics/snippets/exception-summary/exception-summary.csproj +++ b/docs/core/diagnostics/snippets/exception-summary/exception-summary.csproj @@ -9,7 +9,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> - <PackageReference Include="Microsoft.Extensions.Diagnostics.ExceptionSummarization" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.ExceptionSummarization" Version="8.8.0" /> </ItemGroup> </Project> From 53f55915b4afc53bd53b4b54263287cae32bb0b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:31:22 +0000 Subject: [PATCH 11/35] Bump the dotnet group (#42151) Bumps the dotnet group in /docs/core/testing/snippets/unit-testing-using-mstest/csharp/PrimeService.Tests with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/PrimeService.Tests/PrimeService.Tests.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/snippets/unit-testing-using-mstest/csharp/PrimeService.Tests/PrimeService.Tests.csproj b/docs/core/testing/snippets/unit-testing-using-mstest/csharp/PrimeService.Tests/PrimeService.Tests.csproj index d292715fb10ef..b45795bef0eb0 100644 --- a/docs/core/testing/snippets/unit-testing-using-mstest/csharp/PrimeService.Tests/PrimeService.Tests.csproj +++ b/docs/core/testing/snippets/unit-testing-using-mstest/csharp/PrimeService.Tests/PrimeService.Tests.csproj @@ -8,8 +8,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> From 10f14b43e3bf44df5d853e4aa44e123d84cd5589 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:33:21 +0000 Subject: [PATCH 12/35] Bump Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (#42152) Bumps the dotnet group in /docs/core/diagnostics/snippets/health-checks with 1 update: [Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../diagnostics/snippets/health-checks/health-checks.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/diagnostics/snippets/health-checks/health-checks.csproj b/docs/core/diagnostics/snippets/health-checks/health-checks.csproj index 50f11e3b17471..68600d2c0cfe7 100644 --- a/docs/core/diagnostics/snippets/health-checks/health-checks.csproj +++ b/docs/core/diagnostics/snippets/health-checks/health-checks.csproj @@ -8,7 +8,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization" Version="8.8.0" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> </ItemGroup> From 106874f26a9e69188a97d4d1db3b9ddde4f3fc32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:37:46 +0000 Subject: [PATCH 13/35] Bump the dotnet group (#42155) Bumps the dotnet group in /samples/snippets/core/testing/unit-testing-vb-mstest/vb with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../vb/PrimeService.Tests/PrimeService.Tests.vbproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj b/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj index 87da4b72efe6a..9fa6fad347091 100644 --- a/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj +++ b/samples/snippets/core/testing/unit-testing-vb-mstest/vb/PrimeService.Tests/PrimeService.Tests.vbproj @@ -8,8 +8,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> </ItemGroup> <ItemGroup> From 3bfea7d205c32336606626df2d06ad23d188e9ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:38:10 +0000 Subject: [PATCH 14/35] Bump the dotnet group (#42154) Bumps the dotnet group in /docs/core/tutorials/snippets/library-with-visual-studio/vb with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../vb/StringLibraryTest/StringLibraryTest.vbproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj b/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj index 344ea59194d57..6446345649c47 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/vb/StringLibraryTest/StringLibraryTest.vbproj @@ -8,8 +8,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2" /> </ItemGroup> From 2316d327365aac5c53c53a237138e9e7b0276887 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:39:05 +0000 Subject: [PATCH 15/35] Bump Microsoft.VSSDK.BuildTools (#42153) Bumps the dotnet group in /docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix with 1 update: Microsoft.VSSDK.BuildTools. Updates `Microsoft.VSSDK.BuildTools` from 17.11.414 to 17.11.435 --- updated-dependencies: - dependency-name: Microsoft.VSSDK.BuildTools dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj b/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj index b09bac3788b62..209e2ceff6a89 100644 --- a/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj +++ b/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Vsix/MakeConst.Vsix.csproj @@ -24,7 +24,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.11.414" PrivateAssets="all" /> + <PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.11.435" PrivateAssets="all" /> </ItemGroup> <PropertyGroup> From 0bda133d7488dcf39cc2cb29cb628421104e6b79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:40:26 +0000 Subject: [PATCH 16/35] Bump Microsoft.Extensions.Diagnostics.ResourceMonitoring (#42157) Bumps the dotnet group in /docs/core/diagnostics/snippets/resource-monitoring with 1 update: [Microsoft.Extensions.Diagnostics.ResourceMonitoring](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Diagnostics.ResourceMonitoring` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.ResourceMonitoring dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../snippets/resource-monitoring/resource-monitoring.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/diagnostics/snippets/resource-monitoring/resource-monitoring.csproj b/docs/core/diagnostics/snippets/resource-monitoring/resource-monitoring.csproj index 9c718e8083dc0..dd546ac5ee231 100644 --- a/docs/core/diagnostics/snippets/resource-monitoring/resource-monitoring.csproj +++ b/docs/core/diagnostics/snippets/resource-monitoring/resource-monitoring.csproj @@ -10,7 +10,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> - <PackageReference Include="Microsoft.Extensions.Diagnostics.ResourceMonitoring" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.ResourceMonitoring" Version="8.8.0" /> <PackageReference Include="Spectre.Console" Version="0.49.1" /> </ItemGroup> From 6806df48eb897a73851498241f1c28c616ef6f70 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:40:49 +0000 Subject: [PATCH 17/35] Bump the dotnet group (#42156) Bumps the dotnet group in /docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../MakeConst/MakeConst.Test/MakeConst.Test.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/MakeConst.Test.csproj b/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/MakeConst.Test.csproj index 3ec358c45b6be..ac71c1f1ebe81 100644 --- a/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/MakeConst.Test.csproj +++ b/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/MakeConst.Test.csproj @@ -9,8 +9,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="Microsoft.CodeAnalysis" Version="4.10.0" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.MSTest" Version="1.1.2" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.MSTest" Version="1.1.2" /> From 761c22945b60252b16dbc4e07a7b8b5db7505e3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:42:33 +0000 Subject: [PATCH 18/35] Bump the dotnet group (#42158) Bumps the dotnet group in /samples/snippets/standard/data/sqlite with 6 updates: | Package | From | To | | --- | --- | --- | | [Microsoft.Data.Sqlite](https://github.com/dotnet/efcore) | `8.0.7` | `8.0.8` | | [Microsoft.Data.Sqlite.Core](https://github.com/dotnet/efcore) | `8.0.7` | `8.0.8` | | [SQLitePCLRaw.core](https://github.com/ericsink/SQLitePCL.raw) | `2.1.8` | `2.1.9` | | [SQLitePCLRaw.bundle_e_sqlcipher](https://github.com/ericsink/SQLitePCL.raw) | `2.1.8` | `2.1.9` | | [SQLitePCLRaw.provider.dynamic_cdecl](https://github.com/ericsink/SQLitePCL.raw) | `2.1.8` | `2.1.9` | | [SQLitePCLRaw.provider.sqlite3](https://github.com/ericsink/SQLitePCL.raw) | `2.1.8` | `2.1.9` | Updates `Microsoft.Data.Sqlite` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.Data.Sqlite.Core` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `Microsoft.Data.Sqlite.Core` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) Updates `SQLitePCLRaw.core` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.bundle_e_sqlcipher` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.provider.dynamic_cdecl` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.core` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.provider.sqlite3` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.core` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.provider.dynamic_cdecl` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) Updates `SQLitePCLRaw.core` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/ericsink/SQLitePCL.raw/releases) - [Commits](https://github.com/ericsink/SQLitePCL.raw/compare/v2.1.8...v2.1.9) --- updated-dependencies: - dependency-name: Microsoft.Data.Sqlite dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Data.Sqlite.Core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Data.Sqlite.Core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.bundle_e_sqlcipher dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.provider.dynamic_cdecl dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.provider.sqlite3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.provider.dynamic_cdecl dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: SQLitePCLRaw.core dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../AggregateFunctionSample/AggregateFunctionSample.csproj | 2 +- .../standard/data/sqlite/AsyncSample/AsyncSample.csproj | 2 +- .../standard/data/sqlite/BackupSample/BackupSample.csproj | 2 +- .../data/sqlite/BatchingSample/BatchingSample.csproj | 2 +- .../data/sqlite/BulkInsertSample/BulkInsertSample.csproj | 2 +- .../data/sqlite/CollationSample/CollationSample.csproj | 2 +- .../standard/data/sqlite/DapperSample/DapperSample.csproj | 2 +- .../data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj | 2 +- .../DeferredTransactionSample.csproj | 2 +- .../data/sqlite/DirtyReadSample/DirtyReadSample.csproj | 2 +- .../data/sqlite/EncryptionSample/EncryptionSample.csproj | 4 ++-- .../data/sqlite/ExtensionsSample/ExtensionsSample.csproj | 2 +- .../data/sqlite/HelloWorldSample/HelloWorldSample.csproj | 2 +- .../standard/data/sqlite/InteropSample/InteropSample.csproj | 2 +- .../RegularExpressionSample/RegularExpressionSample.csproj | 2 +- .../sqlite/ResultMetadataSample/ResultMetadataSample.csproj | 2 +- .../data/sqlite/SavepointSample/SavepointSample.csproj | 2 +- .../sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj | 2 +- .../sqlite/SqliteProviderSample/SqliteProviderSample.csproj | 6 +++--- .../data/sqlite/StreamingSample/StreamingSample.csproj | 2 +- .../sqlite/SystemLibrarySample/SystemLibrarySample.csproj | 4 ++-- 21 files changed, 25 insertions(+), 25 deletions(-) diff --git a/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj b/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj +++ b/samples/snippets/standard/data/sqlite/AggregateFunctionSample/AggregateFunctionSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj b/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj +++ b/samples/snippets/standard/data/sqlite/AsyncSample/AsyncSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj b/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj +++ b/samples/snippets/standard/data/sqlite/BackupSample/BackupSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj b/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj +++ b/samples/snippets/standard/data/sqlite/BatchingSample/BatchingSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj b/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj +++ b/samples/snippets/standard/data/sqlite/BulkInsertSample/BulkInsertSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj b/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj +++ b/samples/snippets/standard/data/sqlite/CollationSample/CollationSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj b/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj index 714cfc21d7460..78128be340b66 100644 --- a/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj +++ b/samples/snippets/standard/data/sqlite/DapperSample/DapperSample.csproj @@ -8,7 +8,7 @@ <ItemGroup> <PackageReference Include="Dapper" Version="2.1.35" /> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj b/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj +++ b/samples/snippets/standard/data/sqlite/DateAndTimeSample/DateAndTimeSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/DeferredTransactionSample/DeferredTransactionSample.csproj b/samples/snippets/standard/data/sqlite/DeferredTransactionSample/DeferredTransactionSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/DeferredTransactionSample/DeferredTransactionSample.csproj +++ b/samples/snippets/standard/data/sqlite/DeferredTransactionSample/DeferredTransactionSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj b/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj +++ b/samples/snippets/standard/data/sqlite/DirtyReadSample/DirtyReadSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj b/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj index fefb7d426f4b0..94dd3b560d747 100644 --- a/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj +++ b/samples/snippets/standard/data/sqlite/EncryptionSample/EncryptionSample.csproj @@ -7,8 +7,8 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.7" /> - <PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.8" /> + <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.8" /> + <PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.9" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj b/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj index fbe9febcc65d8..076d94e540167 100644 --- a/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj +++ b/samples/snippets/standard/data/sqlite/ExtensionsSample/ExtensionsSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> <PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" /> <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.1" /> <PackageReference Include="mod_spatialite" Version="4.3.0.1" /> diff --git a/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj b/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj +++ b/samples/snippets/standard/data/sqlite/HelloWorldSample/HelloWorldSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj b/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj +++ b/samples/snippets/standard/data/sqlite/InteropSample/InteropSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj b/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj +++ b/samples/snippets/standard/data/sqlite/RegularExpressionSample/RegularExpressionSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj b/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj +++ b/samples/snippets/standard/data/sqlite/ResultMetadataSample/ResultMetadataSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/SavepointSample/SavepointSample.csproj b/samples/snippets/standard/data/sqlite/SavepointSample/SavepointSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/SavepointSample/SavepointSample.csproj +++ b/samples/snippets/standard/data/sqlite/SavepointSample/SavepointSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj b/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj index 5d8ef36c4b03f..032d93e584b0d 100644 --- a/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj +++ b/samples/snippets/standard/data/sqlite/ScalarFunctionSample/ScalarFunctionSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj b/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj index c28c463c1349a..0ee83ea964c71 100644 --- a/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj +++ b/samples/snippets/standard/data/sqlite/SqliteProviderSample/SqliteProviderSample.csproj @@ -7,9 +7,9 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.7" /> - <PackageReference Include="SQLitePCLRaw.core" Version="2.1.8" /> - <PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.8" /> + <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.8" /> + <PackageReference Include="SQLitePCLRaw.core" Version="2.1.9" /> + <PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.9" /> </ItemGroup> </Project> diff --git a/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj b/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj index 347c973c35d22..630fac4b0e4e7 100644 --- a/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj +++ b/samples/snippets/standard/data/sqlite/StreamingSample/StreamingSample.csproj @@ -7,7 +7,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.7" /> + <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.8" /> </ItemGroup> <ItemGroup> diff --git a/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj b/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj index ce06583f527b7..48c32528df71b 100644 --- a/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj +++ b/samples/snippets/standard/data/sqlite/SystemLibrarySample/SystemLibrarySample.csproj @@ -7,8 +7,8 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.7" /> - <PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.8" /> + <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.8" /> + <PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.9" /> </ItemGroup> </Project> From 3ff6a98579f36edcf19cc58b8afe033a887257de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:47:11 +0000 Subject: [PATCH 19/35] Bump Microsoft.Extensions.Http.Resilience (#42159) Bumps the dotnet group in /docs/core/resilience/snippets/http-resilience with 1 update: [Microsoft.Extensions.Http.Resilience](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Http.Resilience` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Http.Resilience dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../resilience/snippets/http-resilience/http-resilience.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/resilience/snippets/http-resilience/http-resilience.csproj b/docs/core/resilience/snippets/http-resilience/http-resilience.csproj index 71f2ad05e3a3e..90ae478bcb062 100644 --- a/docs/core/resilience/snippets/http-resilience/http-resilience.csproj +++ b/docs/core/resilience/snippets/http-resilience/http-resilience.csproj @@ -20,7 +20,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" /> - <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.8.0" /> </ItemGroup> </Project> From 0783d456cefdb5a1e473c14abecc936588efb3b4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:53:07 +0000 Subject: [PATCH 20/35] Bump the dotnet group (#42160) Bumps the dotnet group in /docs/core/testing/snippets/order-unit-tests/csharp/MSTest.Project with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/MSTest.Project/MSTest.Project.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/snippets/order-unit-tests/csharp/MSTest.Project/MSTest.Project.csproj b/docs/core/testing/snippets/order-unit-tests/csharp/MSTest.Project/MSTest.Project.csproj index 3419aeb574d91..0193dbb8bcd7d 100644 --- a/docs/core/testing/snippets/order-unit-tests/csharp/MSTest.Project/MSTest.Project.csproj +++ b/docs/core/testing/snippets/order-unit-tests/csharp/MSTest.Project/MSTest.Project.csproj @@ -9,8 +9,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> From 9fb53e192b874270ecdf785809fa039528d84049 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:54:41 +0000 Subject: [PATCH 21/35] Bump the dotnet group (#42162) Bumps the dotnet group in /docs/core/testing/snippets/order-unit-tests/csharp with 3 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx), [MSTest.TestFramework](https://github.com/microsoft/testfx) and [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `NUnit.Analyzers` from 4.2.0 to 4.3.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.2.0...4.3.0) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/NUnit.TestProject/NUnit.Project.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj b/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj index bbb21b1fdc348..484ac5c4f5e6d 100644 --- a/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj +++ b/docs/core/testing/snippets/order-unit-tests/csharp/NUnit.TestProject/NUnit.Project.csproj @@ -11,7 +11,7 @@ <PackageReference Include="NUnit" Version="4.1.0" /> <PackageReference Include="NUnit3TestAdapter" Version="4.6.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="NUnit.Analyzers" Version="4.2.0"> + <PackageReference Include="NUnit.Analyzers" Version="4.3.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference> From 50dac360606eeef0dba75d8b08a3c95153897e79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:54:56 +0000 Subject: [PATCH 22/35] Bump Microsoft.Extensions.Localization (#42161) Bumps the dotnet group in /docs/core/extensions/snippets/localization with 1 update: [Microsoft.Extensions.Localization](https://github.com/dotnet/aspnetcore). Updates `Microsoft.Extensions.Localization` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/aspnetcore/releases) - [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md) - [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Localization dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../extensions/snippets/localization/example/example.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/extensions/snippets/localization/example/example.csproj b/docs/core/extensions/snippets/localization/example/example.csproj index 76dbee66c88ac..8cbd1d8843514 100644 --- a/docs/core/extensions/snippets/localization/example/example.csproj +++ b/docs/core/extensions/snippets/localization/example/example.csproj @@ -10,7 +10,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> - <PackageReference Include="Microsoft.Extensions.Localization" Version="8.0.7" /> + <PackageReference Include="Microsoft.Extensions.Localization" Version="8.0.8" /> </ItemGroup> <ItemGroup> From 4cf8f2ac87a501e0254462bc6083887924df8526 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:57:57 +0000 Subject: [PATCH 23/35] Bump github/codeql-action from 3.26.0 to 3.26.1 (#42163) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.1. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/eb055d739abdc2e8de2e5f4ba1a8b246daa779aa...29d86d22a34ea372b1bbf3b2dced2e25ca6b3384) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/scorecards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 88c6d89216f4a..b15c60d6c73d2 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -71,6 +71,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 + uses: github/codeql-action/upload-sarif@29d86d22a34ea372b1bbf3b2dced2e25ca6b3384 # v3.26.1 with: sarif_file: results.sarif From 79af14a2a895f04770d3f770673f75f89a588dd4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:58:24 +0000 Subject: [PATCH 24/35] Bump NUnit.Analyzers (#42165) Bumps the dotnet group with 1 update in the /docs/core/testing/snippets/order-unit-tests/csharp directory: [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers). Updates `NUnit.Analyzers` from 4.2.0 to 4.3.0 - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/4.2.0...4.3.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> From 9514b8f6d7e11249f0c5e7b1af46e7903d0f6b14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:58:35 +0000 Subject: [PATCH 25/35] Bump the dotnet group (#42164) Bumps the dotnet group in /docs/core/whats-new/snippets/dotnet-8/csharp/ConsoleApp with 2 updates: [Microsoft.Extensions.Diagnostics.Testing](https://github.com/dotnet/extensions) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `Microsoft.Extensions.Diagnostics.Testing` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Diagnostics.Testing dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../snippets/dotnet-8/csharp/ConsoleApp/Project.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/whats-new/snippets/dotnet-8/csharp/ConsoleApp/Project.csproj b/docs/core/whats-new/snippets/dotnet-8/csharp/ConsoleApp/Project.csproj index 50719562332f2..55dff7630a4c5 100644 --- a/docs/core/whats-new/snippets/dotnet-8/csharp/ConsoleApp/Project.csproj +++ b/docs/core/whats-new/snippets/dotnet-8/csharp/ConsoleApp/Project.csproj @@ -9,10 +9,10 @@ <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> - <PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="8.8.0" /> <PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> </ItemGroup> </Project> From 16680884f90dc38ac13fe8b5ba6a7c42728b05ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:59:07 +0000 Subject: [PATCH 26/35] Bump the dotnet group (#42167) Bumps the dotnet group in /docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/StringLibraryTest/StringLibraryTest.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/StringLibraryTest.csproj b/docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/StringLibraryTest.csproj index 5cfa932b52624..6ae3b3d1f7cf5 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/StringLibraryTest.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio-6-0/csharp/StringLibraryTest/StringLibraryTest.csproj @@ -9,8 +9,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2" /> </ItemGroup> From f5e07f3dacfe375f5260bc6b1a7f7190d9195452 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:59:29 +0000 Subject: [PATCH 27/35] Bump the dotnet group (#42166) Bumps the dotnet group in /docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTestNet8 with 2 updates: [MSTest.TestAdapter](https://github.com/microsoft/testfx) and [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestAdapter` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestAdapter dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../csharp/StringLibraryTestNet8/StringLibraryTest.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTestNet8/StringLibraryTest.csproj b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTestNet8/StringLibraryTest.csproj index df06c2a8038bc..9cb6f820e71f6 100644 --- a/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTestNet8/StringLibraryTest.csproj +++ b/docs/core/tutorials/snippets/library-with-visual-studio/csharp/StringLibraryTestNet8/StringLibraryTest.csproj @@ -11,8 +11,8 @@ <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" /> - <PackageReference Include="MSTest.TestAdapter" Version="3.5.1" /> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestAdapter" Version="3.5.2" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> <PackageReference Include="coverlet.collector" Version="6.0.2" /> </ItemGroup> From 8d8fbd50149e2ed493d8c76277ce6c8dbcf6c207 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:00:04 +0000 Subject: [PATCH 28/35] Bump System.Drawing.Common (#42168) Bumps the dotnet group in /docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp with 1 update: [System.Drawing.Common](https://github.com/dotnet/winforms). Updates `System.Drawing.Common` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/winforms/releases) - [Changelog](https://github.com/dotnet/winforms/blob/main/docs/release-activity.md) - [Commits](https://github.com/dotnet/winforms/compare/v8.0.7...v8.0.8) --- updated-dependencies: - dependency-name: System.Drawing.Common dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../ResourceReader/Overview/csharp/Project.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp/Project.csproj b/docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp/Project.csproj index 14db93c5853aa..c60cee935224e 100644 --- a/docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp/Project.csproj +++ b/docs/fundamentals/runtime-libraries/snippets/System.Resources/ResourceReader/Overview/csharp/Project.csproj @@ -6,7 +6,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="System.Drawing.Common" Version="8.0.7" /> + <PackageReference Include="System.Drawing.Common" Version="8.0.8" /> </ItemGroup> </Project> From 6b115fe54d71dcc0889179a8da9aaff34274f664 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:00:48 +0000 Subject: [PATCH 29/35] Bump Microsoft.EntityFrameworkCore (#42169) Bumps the dotnet group in /docs/csharp/language-reference/compiler-messages/snippets/null-warnings with 1 update: [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). Updates `Microsoft.EntityFrameworkCore` from 8.0.7 to 8.0.8 - [Release notes](https://github.com/dotnet/efcore/releases) - [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8) --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../snippets/null-warnings/null-warnings.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj b/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj index 911bdbd407a2b..9ab150041bb95 100644 --- a/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj +++ b/docs/csharp/language-reference/compiler-messages/snippets/null-warnings/null-warnings.csproj @@ -9,7 +9,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7" /> + <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" /> </ItemGroup> </Project> From d6454e7afaa58018d6b7cc2270b47ec3976a66cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:03:13 +0000 Subject: [PATCH 30/35] Bump Microsoft.Extensions.Resilience (#42171) Bumps the dotnet group in /docs/core/resilience/snippets/resilience with 1 update: [Microsoft.Extensions.Resilience](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.Resilience` from 8.7.0 to 8.8.0 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Resilience dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- docs/core/resilience/snippets/resilience/resilience.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/resilience/snippets/resilience/resilience.csproj b/docs/core/resilience/snippets/resilience/resilience.csproj index baffcc2296efa..e31fed693e85a 100644 --- a/docs/core/resilience/snippets/resilience/resilience.csproj +++ b/docs/core/resilience/snippets/resilience/resilience.csproj @@ -9,7 +9,7 @@ <ItemGroup> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> - <PackageReference Include="Microsoft.Extensions.Resilience" Version="8.7.0" /> + <PackageReference Include="Microsoft.Extensions.Resilience" Version="8.8.0" /> </ItemGroup> </Project> From 39f525ff9bddab21c087e8faef850083c7592e69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:03:52 +0000 Subject: [PATCH 31/35] Bump MSTest.TestFramework (#42170) Bumps the dotnet group in /docs/csharp/language-reference/operators/snippets/shared with 1 update: [MSTest.TestFramework](https://github.com/microsoft/testfx). Updates `MSTest.TestFramework` from 3.5.1 to 3.5.2 - [Release notes](https://github.com/microsoft/testfx/releases) - [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md) - [Commits](https://github.com/microsoft/testfx/compare/v3.5.1...v3.5.2) --- updated-dependencies: - dependency-name: MSTest.TestFramework dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../operators/snippets/shared/operators.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/operators/snippets/shared/operators.csproj b/docs/csharp/language-reference/operators/snippets/shared/operators.csproj index e6e14c8c9d514..ae3bcd98d8d31 100644 --- a/docs/csharp/language-reference/operators/snippets/shared/operators.csproj +++ b/docs/csharp/language-reference/operators/snippets/shared/operators.csproj @@ -10,7 +10,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="MSTest.TestFramework" Version="3.5.1" /> + <PackageReference Include="MSTest.TestFramework" Version="3.5.2" /> </ItemGroup> </Project> From 7c6100ab02370a6e0387a03d64ce26acfef86246 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 14 Aug 2024 06:41:15 -0700 Subject: [PATCH 32/35] Update package index with latest published versions (#42125) --- docs/azure/includes/dotnet-all.md | 6 +++--- docs/azure/includes/dotnet-new.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index 562be6cf88aaf..12e7b73f6efbd 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -61,7 +61,7 @@ | Maps Geolocation | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.Maps.Geolocation/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/Maps.Geolocation-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Geolocation_1.0.0-beta.2/sdk/maps/Azure.Maps.Geolocation/) | | Maps Render | NuGet [2.0.0-beta.1](https://www.nuget.org/packages/Azure.Maps.Rendering/2.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Maps.Rendering-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Rendering_2.0.0-beta.1/sdk/maps/Azure.Maps.Rendering/) | | Maps Route | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Maps.Routing/1.0.0-beta.3) | [docs](/dotnet/api/overview/azure/Maps.Routing-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Routing_1.0.0-beta.3/sdk/maps/Azure.Maps.Routing/) | -| Maps Search | NuGet [2.0.0-beta.1](https://www.nuget.org/packages/Azure.Maps.Search/2.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Maps.Search-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Search_2.0.0-beta.1/sdk/maps/Azure.Maps.Search/) | +| Maps Search | NuGet [2.0.0-beta.2](https://www.nuget.org/packages/Azure.Maps.Search/2.0.0-beta.2) | [docs](/dotnet/api/overview/azure/Maps.Search-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Search_2.0.0-beta.2/sdk/maps/Azure.Maps.Search/) | | Media Analytics Edge | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.Media.Analytics.Edge/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Media.Analytics.Edge-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Media.Analytics.Edge_1.0.0-beta.1/sdk/mediaservices/Azure.Media.Analytics.Edge) | | Metrics Advisor | NuGet [1.1.0](https://www.nuget.org/packages/Azure.AI.MetricsAdvisor/1.1.0) | [docs](/dotnet/api/overview/azure/AI.MetricsAdvisor-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.MetricsAdvisor_1.1.0/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/) | | Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents | NuGet [1.0.1](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents/1.0.1) | [docs](/dotnet/api/overview/azure/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents_1.0.1/sdk/entra/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents/) | @@ -426,8 +426,8 @@ | Search - Common | NuGet [10.1.0](https://www.nuget.org/packages/Microsoft.Azure.Search.Common/10.1.0) | | GitHub [10.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Search.Common_10.1.0/sdk/search/Microsoft.Azure.Search.Common/) | | Search - Data | NuGet [10.1.0](https://www.nuget.org/packages/Microsoft.Azure.Search.Data/10.1.0) | | GitHub [10.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Search.Data_10.1.0/sdk/search/Microsoft.Azure.Search.Data/) | | Search - Service | NuGet [10.1.0](https://www.nuget.org/packages/Microsoft.Azure.Search.Service/10.1.0) | | GitHub [10.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.Search.Service_10.1.0/sdk/search/Microsoft.Azure.Search.Service/) | -| Speech | NuGet [1.38.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech/1.38.0) | | | -| Speech Remote Conversation | NuGet [1.38.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.Remoteconversation/1.38.0) | | | +| Speech | NuGet [1.40.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech/1.40.0) | | | +| Speech Remote Conversation | NuGet [1.40.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.Remoteconversation/1.40.0) | | | | Speech Xamarin iOS | NuGet [1.25.0](https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech.Xamarin.iOS/1.25.0) | | | | Spell Check | NuGet [4.1.0-preview.1](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Language.SpellCheck/4.1.0-preview.1) | | GitHub [4.1.0-preview.1](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.CognitiveServices.Language.SpellCheck_4.1.0-preview.1/sdk/cognitiveservices/Language.SpellCheck) | | Spring Cloud Client | NuGet [2.0.0-preview.3](https://www.nuget.org/packages/Microsoft.Azure.SpringCloud.Client/2.0.0-preview.3) | | | diff --git a/docs/azure/includes/dotnet-new.md b/docs/azure/includes/dotnet-new.md index d4e0cd456e1c9..1ddd29b125202 100644 --- a/docs/azure/includes/dotnet-new.md +++ b/docs/azure/includes/dotnet-new.md @@ -62,7 +62,7 @@ | Maps Geolocation | NuGet [1.0.0-beta.2](https://www.nuget.org/packages/Azure.Maps.Geolocation/1.0.0-beta.2) | [docs](/dotnet/api/overview/azure/Maps.Geolocation-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Geolocation_1.0.0-beta.2/sdk/maps/Azure.Maps.Geolocation/) | | Maps Render | NuGet [2.0.0-beta.1](https://www.nuget.org/packages/Azure.Maps.Rendering/2.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Maps.Rendering-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Rendering_2.0.0-beta.1/sdk/maps/Azure.Maps.Rendering/) | | Maps Route | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Maps.Routing/1.0.0-beta.3) | [docs](/dotnet/api/overview/azure/Maps.Routing-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.3](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Routing_1.0.0-beta.3/sdk/maps/Azure.Maps.Routing/) | -| Maps Search | NuGet [2.0.0-beta.1](https://www.nuget.org/packages/Azure.Maps.Search/2.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Maps.Search-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Search_2.0.0-beta.1/sdk/maps/Azure.Maps.Search/) | +| Maps Search | NuGet [2.0.0-beta.2](https://www.nuget.org/packages/Azure.Maps.Search/2.0.0-beta.2) | [docs](/dotnet/api/overview/azure/Maps.Search-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [2.0.0-beta.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Maps.Search_2.0.0-beta.2/sdk/maps/Azure.Maps.Search/) | | Media Analytics Edge | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.Media.Analytics.Edge/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/Media.Analytics.Edge-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.Media.Analytics.Edge_1.0.0-beta.1/sdk/mediaservices/Azure.Media.Analytics.Edge) | | Metrics Advisor | NuGet [1.1.0](https://www.nuget.org/packages/Azure.AI.MetricsAdvisor/1.1.0) | [docs](/dotnet/api/overview/azure/AI.MetricsAdvisor-readme) | GitHub [1.1.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.AI.MetricsAdvisor_1.1.0/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/) | | Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents | NuGet [1.0.1](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents/1.0.1) | [docs](/dotnet/api/overview/azure/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents_1.0.1/sdk/entra/Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents/) | From 2c4a421d8f906787efecebf0fe3553a203773d7b Mon Sep 17 00:00:00 2001 From: Bill Wagner <wiwagn@microsoft.com> Date: Wed, 14 Aug 2024 09:43:46 -0400 Subject: [PATCH 33/35] Clarify definition (#42123) Fixes #42116 --- docs/csharp/language-reference/keywords/partial-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/keywords/partial-type.md b/docs/csharp/language-reference/keywords/partial-type.md index 04caed825fc4a..93ba159eb7bfb 100644 --- a/docs/csharp/language-reference/keywords/partial-type.md +++ b/docs/csharp/language-reference/keywords/partial-type.md @@ -11,7 +11,7 @@ ms.assetid: 27320743-a22e-4c7b-b0b3-53afe3607334 --- # partial type (C# Reference) -Partial type definitions allow for the definition of a class, struct, interface, or record to be split into multiple files. +Partial type definitions allow for the definition of a class, struct, interface, or record to be split into multiple definitions that can be in different files in the same project. In *File1.cs*: From 403bc36bbfa007432c01a71de0c84784bd8bba88 Mon Sep 17 00:00:00 2001 From: "Xiao.ZY" <2966094090@qq.com> Date: Thu, 15 Aug 2024 02:11:27 +0800 Subject: [PATCH 34/35] Update httpclient.md (#42030) * Update httpclient.md Adding details about sending HTTP request using HttpClient on Android * Update docs/fundamentals/networking/http/httpclient.md --------- Co-authored-by: David Pine <david.pine@microsoft.com> --- docs/fundamentals/networking/http/httpclient.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/fundamentals/networking/http/httpclient.md b/docs/fundamentals/networking/http/httpclient.md index b024f58f882b6..da158c963409b 100644 --- a/docs/fundamentals/networking/http/httpclient.md +++ b/docs/fundamentals/networking/http/httpclient.md @@ -62,6 +62,19 @@ To make an HTTP request, you call any of the following APIs: > [!WARNING] > Making HTTP requests is considered network I/O-bound work. While there is a synchronous <xref:System.Net.Http.HttpClient.Send%2A?displayProperty=nameWithType> method, it is recommended to use the asynchronous APIs instead, unless you have good reason not to. +> [!NOTE] +> While targeting Android devices (such as with .NET MAUI development), you must add `android:usesCleartextTraffic="true"` to `<application></application>` in _AndroidManifest.xml_. This enables clear-text traffic, such as HTTP requests, which is otherwise disabled by default due to Android security policies. Consider the following example XML settings: +> +> ```xml +> <?xml version="1.0" encoding="utf-8"?> +> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> +> <application android:usesCleartextTraffic="true"></application> +> <!-- omitted for brevity --> +> </manifest> +> ``` +> +> For more information, see [Enable clear-text network traffic for the localhost domain](/dotnet/maui/data-cloud/local-web-services?view=net-maui-8.0#enable-clear-text-network-traffic-for-the-localhost-domain). + ### HTTP content The <xref:System.Net.Http.HttpContent> type is used to represent an HTTP entity body and corresponding content headers. For HTTP methods (or request methods) that require a body, `POST`, `PUT`, and `PATCH`, you use the <xref:System.Net.Http.HttpContent> class to specify the body of the request. Most examples show how to prepare the <xref:System.Net.Http.StringContent> subclass with a JSON payload, but other subclasses exist for different [content (MIME) types](https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/MIME_types). From 6ff353871abccba2e17a77bdcce47710bf7003f8 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:54:21 -0500 Subject: [PATCH 35/35] Add Azure Identity library credential chains doc (#42049) * Add Azure Identity library credential chains doc * Update mermaid diagrams * Fix code snippets * Add H1 * Move sample code * Add 2 more code samples * Edit diagrams * Replace list with table * Rename directory * Tweak wording * Accessibility improvements * Remove unnecessary http file * Add links to credentials * Update diagrams * Update credential name * Edit pass * More edits * Update title * Edit pass * Add sequence diagram * Update benefits * Add metadata to includes * Move mermaid markup files to includes folder * Fix build warnings * Fix lightboxes * Fix images * React to feedback * Add line highlighting * Small edits * Move sample app * Add a debug section * Edits to debug section * More edits to debug section * Fix heading * React to Maor feedback * Add missing tab IDs * Small edit * Link to env vars section in README * Remove lightboxes * React to Bill's feedback * React to David's feedback Co-authored-by: David Pine <david.pine@microsoft.com> * Update docs/azure/sdk/snippets/authentication/credential-chains/Program.cs Co-authored-by: David Pine <david.pine@microsoft.com> * Convert text to note --------- Co-authored-by: David Pine <david.pine@microsoft.com> --- docs/azure/TOC.yml | 4 +- .../sdk/authentication/credential-chains.md | 132 ++++++++++++++++++ docs/azure/sdk/authentication/index.md | 17 --- .../sdk/includes/mermaidjs/ChainSequence.md | 35 +++++ .../ChainedTokenCredentialAuthFlow.md | 29 ++++ .../DefaultAzureCredentialAuthFlow.md | 51 +++++++ .../DefaultAzureCredentialExcludes.md | 29 ++++ .../sdk/media/mermaidjs/ChainSequence.svg | 1 + .../ChainedTokenCredentialAuthFlow.svg | 1 + .../DefaultAzureCredentialAuthFlow.svg | 1 + .../DefaultAzureCredentialExcludes.svg | 1 + .../AuthenticationSampleApp.csproj | 17 +++ .../credential-chains/Program.cs | 116 +++++++++++++++ .../Properties/launchSettings.json | 41 ++++++ .../appsettings.Development.json | 8 ++ .../credential-chains/appsettings.json | 9 ++ .../credential-chains/dac-logs.txt | 11 ++ 17 files changed, 485 insertions(+), 18 deletions(-) create mode 100644 docs/azure/sdk/authentication/credential-chains.md create mode 100644 docs/azure/sdk/includes/mermaidjs/ChainSequence.md create mode 100644 docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md create mode 100644 docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md create mode 100644 docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md create mode 100644 docs/azure/sdk/media/mermaidjs/ChainSequence.svg create mode 100644 docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.svg create mode 100644 docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.svg create mode 100644 docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.svg create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/AuthenticationSampleApp.csproj create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/Program.cs create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/Properties/launchSettings.json create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/appsettings.Development.json create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/appsettings.json create mode 100644 docs/azure/sdk/snippets/authentication/credential-chains/dac-logs.txt diff --git a/docs/azure/TOC.yml b/docs/azure/TOC.yml index 5e58f198ae13d..0e7e95385a700 100644 --- a/docs/azure/TOC.yml +++ b/docs/azure/TOC.yml @@ -67,6 +67,8 @@ href: ./sdk/authentication/create-token-credentials-from-configuration.md - name: Additional auth methods href: ./sdk/authentication/additional-methods.md + - name: Credential chains + href: ./sdk/authentication/credential-chains.md - name: Resource management href: ./sdk/resource-management.md - name: Dependency injection @@ -118,4 +120,4 @@ - name: All samples href: /samples/browse/?languages=csharp%2Caspx-csharp%2Cfsharp%2Cvb - name: API reference - href: /dotnet/api/overview/azure/?view=azure-dotnet&preserve-view=true \ No newline at end of file + href: /dotnet/api/overview/azure/?view=azure-dotnet&preserve-view=true diff --git a/docs/azure/sdk/authentication/credential-chains.md b/docs/azure/sdk/authentication/credential-chains.md new file mode 100644 index 0000000000000..6e88fb09f9dfa --- /dev/null +++ b/docs/azure/sdk/authentication/credential-chains.md @@ -0,0 +1,132 @@ +--- +title: 'Credential chains in the Azure Identity library for .NET' +description: 'This article describes the DefaultAzureCredential and ChainedTokenCredential classes in the Azure Identity library.' +ms.topic: conceptual +ms.date: 08/13/2024 +--- + +# Credential chains in the Azure Identity library for .NET + +The Azure Identity library provides *credentials*—public classes derived from the Azure Core library's [TokenCredential](/dotnet/api/azure.core.tokencredential?view=azure-dotnet&preserve-view=true) class. A credential represents a distinct authentication flow for acquiring an access token from Microsoft Entra ID. These credentials can be chained together to form an ordered sequence of authentication mechanisms to be attempted. + +## How a chained credential works + +At runtime, a credential chain attempts to authenticate using the sequence's first credential. If that credential fails to acquire an access token, the next credential in the sequence is attempted, and so on, until an access token is successfully obtained. The following sequence diagram illustrates this behavior: + +:::image type="content" source="../media/mermaidjs/ChainSequence.svg" alt-text="Credential chain sequence diagram"::: + +## Why use credential chains + +A chained credential can offer the following benefits: + +- **Environment awareness**: Automatically selects the most appropriate credential based on the environment in which the app is running. Without it, you'd have to write code like this: + + :::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_NoChain"::: + +- **Seamless transitions**: Your app can move from local development to your staging or production environment without changing authentication code. +- **Improved resiliency**: Includes a fallback mechanism that moves to the next credential when the prior fails to acquire an access token. + +## How to choose a chained credential + +There are two disparate philosophies to credential chaining: + +- **"Tear down" a chain**: Start with a preconfigured chain and exclude what you don't need. For this approach, see the [DefaultAzureCredential overview](#defaultazurecredential-overview) section. +- **"Build up" a chain**: Start with an empty chain and include only what you need. For this approach, see the [ChainedTokenCredential overview](#chainedtokencredential-overview) section. + +## DefaultAzureCredential overview + +[DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet&preserve-view=true) is an opinionated, preconfigured chain of credentials. It's designed to support many environments, along with the most common authentication flows and developer tools. In graphical form, the underlying chain looks like this: + +:::image type="content" source="../media/mermaidjs/DefaultAzureCredentialAuthFlow.svg" alt-text="DefaultAzureCredential auth flowchart"::: + +The order in which `DefaultAzureCredential` attempts credentials follows. + +| Order | Credential | Description | Enabled by default? | +|-------|---------------------|-------------|---------------------| +| 1 | [Environment][env-cred] |Reads a collection of environment variables to determine if an application service principal (application user) is configured for the app. If so, `DefaultAzureCredential` uses these values to authenticate the app to Azure. This method is most often used in server environments but can also be used when developing locally. | Yes | +| 2 | [Workload Identity][wi-cred] |If the app is deployed to an Azure host with Workload Identity enabled, authenticate that account. | Yes | +| 3 | [Managed Identity][mi-cred] |If the app is deployed to an Azure host with Managed Identity enabled, authenticate the app to Azure using that Managed Identity. | Yes | +| 4 | [Visual Studio][vs-cred] |If the developer authenticated to Azure by logging into Visual Studio, authenticate the app to Azure using that same account. | Yes | +| 5 | [Azure CLI][az-cred] |If the developer authenticated to Azure using Azure CLI's `az login` command, authenticate the app to Azure using that same account. | Yes | +| 6 | [Azure PowerShell][pwsh-cred] |If the developer authenticated to Azure using Azure PowerShell's `Connect-AzAccount` cmdlet, authenticate the app to Azure using that same account. | Yes | +| 7 | [Azure Developer CLI][azd-cred] |If the developer authenticated to Azure using Azure Developer CLI's `azd auth login` command, authenticate with that account. | Yes | +| 8 | [Interactive browser][int-cred] |If enabled, interactively authenticate the developer via the current system's default browser. | No | + +[env-cred]: /dotnet/api/azure.identity.environmentcredential?view=azure-dotnet&preserve-view=true +[wi-cred]: /dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet&preserve-view=true +[mi-cred]: /dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet&preserve-view=true +[vs-cred]: /dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet&preserve-view=true +[az-cred]: /dotnet/api/azure.identity.azureclicredential?view=azure-dotnet&preserve-view=true +[pwsh-cred]: /dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet&preserve-view=true +[azd-cred]: /dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet&preserve-view=true +[int-cred]: /dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet&preserve-view=true + +In its simplest form, you can use the parameterless version of `DefaultAzureCredential` as follows: + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_Dac"::: + +### How to customize DefaultAzureCredential + +To remove a credential from `DefaultAzureCredential`, use the corresponding `Exclude`-prefixed property in [DefaultAzureCredentialOptions](/dotnet/api/azure.identity.defaultazurecredentialoptions?view=azure-dotnet&preserve-view=true#properties). For example: + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_DacExcludes" highlight="4-5"::: + +In the preceding code sample, `EnvironmentCredential` and `WorkloadIdentityCredential` are removed from the credential chain. As a result, the first credential to be attempted is `ManagedIdentityCredential`. The modified chain looks like this: + +:::image type="content" source="../media/mermaidjs/DefaultAzureCredentialExcludes.svg" alt-text="DefaultAzureCredential using Excludes properties"::: + +> [!NOTE] +> `InteractiveBrowserCredential` is excluded by default and therefore isn't shown in the preceding diagram. To include `InteractiveBrowserCredential`, use constructor <xref:Azure.Identity.DefaultAzureCredential.%23ctor%28System.Boolean%29>. + +As more `Exclude`-prefixed properties are set to `true` (credential exclusions are configured), the advantages of using `DefaultAzureCredential` diminish. In such cases, `ChainedTokenCredential` is a better choice and requires less code. To illustrate, these two code samples behave the same way: + +### [DefaultAzureCredential](#tab/dac) + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_DacEquivalents"::: + +### [ChainedTokenCredential](#tab/ctc) + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_CtcEquivalents"::: + +--- + +## ChainedTokenCredential overview + +[ChainedTokenCredential](/dotnet/api/azure.identity.chainedtokencredential?view=azure-dotnet&preserve-view=true) is an empty chain to which you add credentials to suit your app's needs. For example: + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_Ctc"::: + +The preceding code sample creates a tailored credential chain comprised of two credentials. The user-assigned managed identity variant of `ManagedIdentityCredential` is attempted first, followed by `VisualStudioCredential`, if necessary. In graphical form, the chain looks like this: + +:::image type="content" source="../media/mermaidjs/ChainedTokenCredentialAuthFlow.svg" alt-text="ChainedTokenCredential"::: + +> [!TIP] +> For improved performance, optimize credential ordering in `ChainedTokenCredential` for your production environment. Credentials intended for use in the local development environment should be added last. + +## Usage guidance for DefaultAzureCredential + +`DefaultAzureCredential` is undoubtedly the easiest way to get started with the Azure Identity library, but with that convenience comes tradeoffs. Once you deploy your app to Azure, you should understand the app's authentication requirements. For that reason, strongly consider moving from `DefaultAzureCredential` to one of the following solutions: + +- A specific `TokenCredential` implementation, such as `ManagedIdentityCredential`. See the [**Derived** list](/dotnet/api/azure.core.tokencredential?view=azure-dotnet&preserve-view=true#definition) for options. +- A pared-down `ChainedTokenCredential` implementation optimized for the Azure environment in which your app runs. + +Here's why: + +- **Debugging challenges**: When authentication fails, it can be challenging to debug and identify the offending credential. You must enable logging to see the progression from one credential to the next and the success/failure status of each. For more information, see [Debug a chained credential](#debug-a-chained-credential). +- **Performance overhead**: The process of sequentially trying multiple credentials can introduce performance overhead. For example, when running on a local development machine, managed identity is unavailable. Consequently, `ManagedIdentityCredential` always fails in the local development environment, unless explicitly disabled via its corresponding `Exclude`-prefixed property. +- **Unpredictable behavior**: `DefaultAzureCredential` checks for the presence of certain [environment variables](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md#environment-variables). It's possible that someone could add or modify these environment variables at the system level on the host machine. Those changes apply globally and therefore alter the behavior of `DefaultAzureCredential` at runtime in any app running on that machine. + +## Debug a chained credential + +To diagnose an unexpected issue or to understand what a chained credential is doing, [enable logging](../logging.md) in your app. Optionally, filter the logs to only those events emitted from the Azure Identity library. For example: + +:::code language="csharp" source="../snippets/authentication/credential-chains/Program.cs" id="snippet_FilteredLogging"::: + +For illustration purposes, assume the parameterless form of `DefaultAzureCredential` was used to authenticate a request to a Log Analytics workspace. The app ran in the local development environment, and Visual Studio was authenticated to an Azure account. The next time the app ran, the following pertinent entries appeared in the output: + +:::code language="output" source="../snippets/authentication/credential-chains/dac-logs.txt"::: + +In the preceding output, notice that: + +- `EnvironmentCredential`, `WorkloadIdentityCredential`, and `ManagedIdentityCredential` each failed to acquire a Microsoft Entra access token, in that order. +- The `DefaultAzureCredential credential selected:`-prefixed entry indicates the credential that was selected—`VisualStudioCredential` in this case. Since `VisualStudioCredential` succeeded, no credentials beyond it were used. diff --git a/docs/azure/sdk/authentication/index.md b/docs/azure/sdk/authentication/index.md index 4d800192cc48b..3c62834dadf98 100644 --- a/docs/azure/sdk/authentication/index.md +++ b/docs/azure/sdk/authentication/index.md @@ -62,20 +62,3 @@ When an app is run on a developer's workstation during local development, it mus ## Use DefaultAzureCredential in an application [!INCLUDE [Implement DefaultAzureCredential](<../includes/implement-defaultazurecredential.md>)] - -### Explore the sequence of DefaultAzureCredential authentication methods - -Internally, `DefaultAzureCredential` implements a chain of credential providers for authenticating applications to Azure resources. Each credential provider is able to detect if credentials of that type are configured for the app. `DefaultAzureCredential` sequentially checks each provider in order and uses the credentials from the first provider that has credentials configured. - -The order and locations in which `DefaultAzureCredential` looks for credentials is found at [DefaultAzureCredential](/dotnet/api/overview/azure/identity-readme?view=azure-dotnet&preserve-view=true#defaultazurecredential). - -| Credential type | Description | -|-------------------------------|-------------| -| Environment | `DefaultAzureCredential` reads a set of environment variables to determine if an application service principal (application user) has been set for the app. If so, `DefaultAzureCredential` uses these values to authenticate the app to Azure.<br><br>This method is most often used in server environments but can also be used when developing locally. | -| Workload Identity | If the app is deployed to an Azure host with Workload Identity enabled, `DefaultAzureCredential` will authenticate that account. | -| Managed Identity | If the app is deployed to an Azure host with Managed Identity enabled, `DefaultAzureCredential` will authenticate the app to Azure using that Managed Identity. Authentication using a Managed Identity is discussed in the [Authentication in server environments](#authentication-in-server-environments) section of this document.<br><br>This method is only available when the app is hosted in Azure using a service like Azure App Service, Azure Functions, or Azure Virtual Machines. | -| Visual Studio | If the developer has authenticated to Azure by logging into Visual Studio, `DefaultAzureCredential` will authenticate the app to Azure using that same account. | -| Azure CLI | If the developer has authenticated to Azure using Azure CLI's `az login` command, `DefaultAzureCredential` will authenticate the app to Azure using that same account. | -| Azure PowerShell | If the developer has authenticated to Azure using Azure PowerShell's `Connect-AzAccount` cmdlet, `DefaultAzureCredential` will authenticate the app to Azure using that same account. | -| Azure Developer CLI | If the developer has authenticated to Azure using Azure Developer CLI's `azd auth login` command, `DefaultAzureCredential` will authenticate with that account. | -| Interactive | If enabled, `DefaultAzureCredential` will interactively authenticate the developer via the current system's default browser. By default, this option is disabled. | diff --git a/docs/azure/sdk/includes/mermaidjs/ChainSequence.md b/docs/azure/sdk/includes/mermaidjs/ChainSequence.md new file mode 100644 index 0000000000000..10982f7638ef1 --- /dev/null +++ b/docs/azure/sdk/includes/mermaidjs/ChainSequence.md @@ -0,0 +1,35 @@ +--- +ms.topic: include +ms.date: 08/07/2024 +--- + +```mermaid +%% STEPS TO GENERATE IMAGE +%% ======================= +%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): +%% npm i -g @mermaid-js/mermaid-cli@10.9.1 +%% 2. Run command: mmdc -i ChainSequence.md -o ../../media/mermaidjs/ChainSequence.svg + +sequenceDiagram + autonumber; + + participant A as .NET app; + participant B as Credential chain; + participant C as TokenCredential instance; + + A->>B: Authenticate to Microsoft Entra ID; + activate B; + B->>B: GetToken; + loop Traverse TokenCredential collection until AccessToken received + B->>C: Fetch token; + activate C; + C->>C: GetToken; + break when Result is AccessToken + C-->>B: Result; + end; + deactivate C; + end; + + B-->>A: AccessToken; + deactivate B; +``` diff --git a/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md b/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md new file mode 100644 index 0000000000000..e3a4efd5d0ff6 --- /dev/null +++ b/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md @@ -0,0 +1,29 @@ +--- +ms.topic: include +ms.date: 08/07/2024 +--- + +```mermaid +%% STEPS TO GENERATE IMAGE +%% ======================= +%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): +%% npm i -g @mermaid-js/mermaid-cli@10.9.1 +%% 2. Run command: mmdc -i ChainedTokenCredentialAuthFlow.md -o ../../media/mermaidjs/ChainedTokenCredentialAuthFlow.svg + +%%{ + init: { + 'theme': 'base', + 'themeVariables': { + 'tertiaryBorderColor': '#fff', + 'tertiaryColor': '#fff' + } + } +}%% + +flowchart LR; + C(Managed Identity):::deployed --> D(Visual Studio):::developer; + + %% Define styles for credential type boxes + classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; + classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; +``` diff --git a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md new file mode 100644 index 0000000000000..377eb05685e99 --- /dev/null +++ b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md @@ -0,0 +1,51 @@ +--- +ms.topic: include +ms.date: 08/07/2024 +--- + +```mermaid +%% STEPS TO GENERATE IMAGE +%% ======================= +%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): +%% npm i -g @mermaid-js/mermaid-cli@10.9.1 +%% 2. Run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o ../../media/mermaidjs/DefaultAzureCredentialAuthFlow.svg + +%%{ + init: { + 'theme': 'base', + 'themeVariables': { + 'tertiaryBorderColor': '#fff', + 'tertiaryColor': '#fff' + } + } +}%% + +flowchart LR; + accTitle: DefaultAzureCredential authentication flow; + accDescr: Flowchart showing the credential chain implemented by DefaultAzureCredential; + + subgraph CREDENTIAL TYPES; + direction LR; + Deployed(Deployed service):::deployed ~~~ Developer(Developer tool):::developer ~~~ Interactive(Interactive):::interactive; + end; + + subgraph CREDENTIALS; + direction LR; + A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer --> H(Interactive browser):::interactive; + end; + + %% Define styles for credential type boxes + classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; + classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; + classDef interactive fill:#A5A5A5, stroke:#828282, stroke-dasharray:5 5, stroke-width:2px; + + %% Add API ref links to credential type boxes + click A "https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet" _blank; + click B "https://learn.microsoft.com/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet" _blank; + click C "https://learn.microsoft.com/dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet" _blank; + click D "https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet" _blank; + click E "https://learn.microsoft.com/dotnet/api/azure.identity.azureclicredential?view=azure-dotnet" _blank; + click F "https://learn.microsoft.com/dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet" _blank; + click G "https://learn.microsoft.com/dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet" _blank + click H "https://learn.microsoft.com/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet" _blank; +``` diff --git a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md new file mode 100644 index 0000000000000..10769fb09f86e --- /dev/null +++ b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md @@ -0,0 +1,29 @@ +--- +ms.topic: include +ms.date: 08/07/2024 +--- + +```mermaid +%% STEPS TO GENERATE IMAGE +%% ======================= +%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): +%% npm i -g @mermaid-js/mermaid-cli@10.9.1 +%% 2. Run command: mmdc -i DefaultAzureCredentialExcludes.md -o ../../media/mermaidjs/DefaultAzureCredentialExcludes.svg + +%%{ + init: { + 'theme': 'base', + 'themeVariables': { + 'tertiaryBorderColor': '#fff', + 'tertiaryColor': '#fff' + } + } +}%% + +flowchart LR; + C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer; + + %% Define styles for credential type boxes + classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; + classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; +``` diff --git a/docs/azure/sdk/media/mermaidjs/ChainSequence.svg b/docs/azure/sdk/media/mermaidjs/ChainSequence.svg new file mode 100644 index 0000000000000..61649cf18feb8 --- /dev/null +++ b/docs/azure/sdk/media/mermaidjs/ChainSequence.svg @@ -0,0 +1 @@ +<svg aria-roledescription="sequence" role="graphics-document document" viewBox="-50 -10 779 667" style="max-width: 779px; background-color: white;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><g><rect class="actor actor-bottom" ry="3" rx="3" name="C" height="65" width="183" stroke="#666" fill="#eaeaea" y="581" x="496"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="613.5" x="587.5"><tspan dy="0" x="587.5">TokenCredential instance</tspan></text></g><g><rect class="actor actor-bottom" ry="3" rx="3" name="B" height="65" width="150" stroke="#666" fill="#eaeaea" y="581" x="296"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="613.5" x="371"><tspan dy="0" x="371">Credential chain</tspan></text></g><g><rect class="actor actor-bottom" ry="3" rx="3" name="A" height="65" width="150" stroke="#666" fill="#eaeaea" y="581" x="0"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="613.5" x="75"><tspan dy="0" x="75">.NET app</tspan></text></g><g><line stroke="#999" stroke-width="0.5px" class="200" y2="581" x2="587.5" y1="5" x1="587.5" id="actor2"/><g id="root-2"><rect class="actor actor-top" ry="3" rx="3" name="C" height="65" width="183" stroke="#666" fill="#eaeaea" y="0" x="496"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="32.5" x="587.5"><tspan dy="0" x="587.5">TokenCredential instance</tspan></text></g></g><g><line stroke="#999" stroke-width="0.5px" class="200" y2="581" x2="371" y1="5" x1="371" id="actor1"/><g id="root-1"><rect class="actor actor-top" ry="3" rx="3" name="B" height="65" width="150" stroke="#666" fill="#eaeaea" y="0" x="296"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="32.5" x="371"><tspan dy="0" x="371">Credential chain</tspan></text></g></g><g><line stroke="#999" stroke-width="0.5px" class="200" y2="581" x2="75" y1="5" x1="75" id="actor0"/><g id="root-0"><rect class="actor actor-top" ry="3" rx="3" name="A" height="65" width="150" stroke="#666" fill="#eaeaea" y="0" x="0"/><text style="text-anchor: middle; font-size: 16px; font-weight: 400;" class="actor" alignment-baseline="central" dominant-baseline="central" y="32.5" x="75"><tspan dy="0" x="75">.NET app</tspan></text></g></g><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#my-svg text.actor>tspan{fill:black;stroke:none;}#my-svg .actor-line{stroke:grey;}#my-svg .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#my-svg .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#my-svg #arrowhead path{fill:#333;stroke:#333;}#my-svg .sequenceNumber{fill:white;}#my-svg #sequencenumber{fill:#333;}#my-svg #crosshead path{fill:#333;stroke:#333;}#my-svg .messageText{fill:#333;stroke:none;}#my-svg .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#my-svg .labelText,#my-svg .labelText>tspan{fill:black;stroke:none;}#my-svg .loopText,#my-svg .loopText>tspan{fill:black;stroke:none;}#my-svg .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#my-svg .note{stroke:#aaaa33;fill:#fff5ad;}#my-svg .noteText,#my-svg .noteText>tspan{fill:black;stroke:none;}#my-svg .activation0{fill:#f4f4f4;stroke:#666;}#my-svg .activation1{fill:#f4f4f4;stroke:#666;}#my-svg .activation2{fill:#f4f4f4;stroke:#666;}#my-svg .actorPopupMenu{position:absolute;}#my-svg .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#my-svg .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#my-svg .actor-man circle,#my-svg line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g/><defs><symbol height="24" width="24" id="computer"><path d="M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z" transform="scale(.5)"/></symbol></defs><defs><symbol clip-rule="evenodd" fill-rule="evenodd" id="database"><path d="M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z" transform="scale(.5)"/></symbol></defs><defs><symbol height="24" width="24" id="clock"><path d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z" transform="scale(.5)"/></symbol></defs><defs><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="7.9" id="arrowhead"><path d="M 0 0 L 10 5 L 0 10 z"/></marker></defs><defs><marker refY="4.5" refX="4" orient="auto" markerHeight="8" markerWidth="15" id="crosshead"><path style="stroke-dasharray: 0, 0;" d="M 1,2 L 6,7 M 6,2 L 1,7" stroke-width="1pt" stroke="#000000" fill="none"/></marker></defs><defs><marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="15.5" id="filled-head"><path d="M 18,7 L9,13 L14,7 L9,1 Z"/></marker></defs><defs><marker orient="auto" markerHeight="40" markerWidth="60" refY="15" refX="15" id="sequencenumber"><circle r="6" cy="15" cx="15"/></marker></defs><g><rect class="activation0" ry="0" rx="0" height="452" width="10" stroke="#666" fill="#EDF2AE" y="109" x="366"/></g><g><rect class="activation0" ry="0" rx="0" height="185" width="10" stroke="#666" fill="#EDF2AE" y="322" x="582.5"/></g><g><line class="loopLine" y2="404" x2="602.5" y1="404" x1="356"/><line class="loopLine" y2="507" x2="602.5" y1="404" x1="602.5"/><line class="loopLine" y2="507" x2="602.5" y1="507" x1="356"/><line class="loopLine" y2="507" x2="356" y1="404" x1="356"/><polygon class="labelBox" points="356,404 406,404 406,417 397.6,424 356,424"/><text style="font-size: 16px; font-weight: 400;" class="labelText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="417" x="381">break</text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="422" x="504.25"><tspan x="504.25">[when Result is</tspan></text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="441" x="504.25"><tspan x="504.25">AccessToken]</tspan></text></g><g><line class="loopLine" y2="193" x2="677.5" y1="193" x1="346"/><line class="loopLine" y2="517" x2="677.5" y1="193" x1="677.5"/><line class="loopLine" y2="517" x2="677.5" y1="517" x1="346"/><line class="loopLine" y2="517" x2="346" y1="193" x1="346"/><polygon class="labelBox" points="346,193 396,193 396,206 387.6,213 346,213"/><text style="font-size: 16px; font-weight: 400;" class="labelText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="206" x="371">loop</text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="211" x="536.75"><tspan x="536.75">[Traverse</tspan></text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="230" x="536.75"><tspan x="536.75">TokenCredential</tspan></text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="249" x="536.75"><tspan x="536.75">collection until</tspan></text><text style="font-size: 16px; font-weight: 400;" class="loopText" text-anchor="middle" y="268" x="536.75"><tspan x="536.75">AccessToken received]</tspan></text></g><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="80" x="222">Authenticate to Microsoft Entra ID</text><line style="fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine0" y2="109" x2="367" y1="109" x1="76"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="113" x="76">1</text><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="124" x="376">GetToken</text><path style="fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine0" d="M 376,153 C 436,143 436,183 376,173"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="157" x="376">2</text><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="291" x="480">Fetch token</text><line style="fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine0" y2="320" x2="583.5" y1="320" x1="376"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="324" x="376">3</text><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="335" x="593">GetToken</text><path style="fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine0" d="M 592.5,364 C 652.5,354 652.5,394 592.5,384"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="368" x="592.5">4</text><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="468" x="481">Result</text><line style="stroke-dasharray: 3, 3; fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine1" y2="497" x2="379" y1="497" x1="582.5"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="501" x="582.5">5</text><text style="font-size: 16px; font-weight: 400;" dy="1em" class="messageText" alignment-baseline="middle" dominant-baseline="middle" text-anchor="middle" y="532" x="223">AccessToken</text><line style="stroke-dasharray: 3, 3; fill: none;" marker-start="url(#sequencenumber)" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine1" y2="561" x2="79" y1="561" x1="366"/><text class="sequenceNumber" text-anchor="middle" font-size="12px" font-family="sans-serif" y="565" x="366">6</text></svg> \ No newline at end of file diff --git a/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.svg b/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.svg new file mode 100644 index 0000000000000..9b237011b86a1 --- /dev/null +++ b/docs/azure/sdk/media/mermaidjs/ChainedTokenCredentialAuthFlow.svg @@ -0,0 +1 @@ +<svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -8 311.0625 50" style="max-width: 311.062px; background-color: white;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#fff;}#my-svg .error-text{fill:#000000;stroke:#000000;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#0b0b0b;stroke:#0b0b0b;}#my-svg .marker.cross{stroke:#0b0b0b;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#000000;}#my-svg .cluster-label span,#my-svg p{color:#000000;}#my-svg .label text,#my-svg span,#my-svg p{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#fff4dd;stroke:hsl(40.5882352941, 60%, 83.3333333333%);stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:#0b0b0b;}#my-svg .edgePath .path{stroke:#0b0b0b;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:#0b0b0b;fill:none;}#my-svg .edgeLabel{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(-79.4117647059, 100%, 93.3333333333%);fill:hsl(-79.4117647059, 100%, 93.3333333333%);}#my-svg .labelBkg{background-color:rgba(243.9999999999, 220.9999999998, 255, 0.5);}#my-svg .cluster rect{fill:#fff;stroke:#fff;stroke-width:1px;}#my-svg .cluster text{fill:#000000;}#my-svg .cluster span,#my-svg p{color:#000000;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:#fff;border:1px solid #fff;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}#my-svg .deployed>*{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .deployed span{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .developer>*{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}#my-svg .developer span{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-C LE-D" id="L-C-D-0" d="M138.375,17L142.542,17C146.708,17,155.042,17,162.492,17C169.942,17,176.508,17,179.792,17L183.075,17"/></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(69.1875, 17)" data-id="C" data-node="true" id="flowchart-C-0" class="node default deployed flowchart-label"><rect height="34" width="138.375" y="-17" x="-69.1875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-61.6875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="123.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Managed Identity</span></div></foreignObject></g></g><g transform="translate(241.71875, 17)" data-id="D" data-node="true" id="flowchart-D-1" class="node default developer flowchart-label"><rect height="34" width="106.6875" y="-17" x="-53.34375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-45.84375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="91.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Visual Studio</span></div></foreignObject></g></g></g></g></g></svg> \ No newline at end of file diff --git a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.svg b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.svg new file mode 100644 index 0000000000000..f60052a3a0662 --- /dev/null +++ b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialAuthFlow.svg @@ -0,0 +1 @@ +<svg aria-labelledby="chart-title-my-svg" aria-describedby="chart-desc-my-svg" aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 1444.953125 274" style="max-width: 1444.95px; background-color: white;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><title id="chart-title-my-svg">DefaultAzureCredential authentication flow;</title><desc id="chart-desc-my-svg">Flowchart showing the credential chain implemented by DefaultAzureCredential;</desc><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#fff;}#my-svg .error-text{fill:#000000;stroke:#000000;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#0b0b0b;stroke:#0b0b0b;}#my-svg .marker.cross{stroke:#0b0b0b;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#000000;}#my-svg .cluster-label span,#my-svg p{color:#000000;}#my-svg .label text,#my-svg span,#my-svg p{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#fff4dd;stroke:hsl(40.5882352941, 60%, 83.3333333333%);stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:#0b0b0b;}#my-svg .edgePath .path{stroke:#0b0b0b;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:#0b0b0b;fill:none;}#my-svg .edgeLabel{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(-79.4117647059, 100%, 93.3333333333%);fill:hsl(-79.4117647059, 100%, 93.3333333333%);}#my-svg .labelBkg{background-color:rgba(243.9999999999, 220.9999999998, 255, 0.5);}#my-svg .cluster rect{fill:#fff;stroke:#fff;stroke-width:1px;}#my-svg .cluster text{fill:#000000;}#my-svg .cluster span,#my-svg p{color:#000000;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:#fff;border:1px solid #fff;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}#my-svg .deployed>*{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .deployed span{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .developer>*{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}#my-svg .developer span{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}#my-svg .interactive>*{fill:#A5A5A5!important;stroke:#828282!important;stroke-dasharray:5 5!important;stroke-width:2px!important;}#my-svg .interactive span{fill:#A5A5A5!important;stroke:#828282!important;stroke-dasharray:5 5!important;stroke-width:2px!important;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="CREDENTIALS" class="cluster default flowchart-label"><rect height="104" width="1428.953125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(674.9609375, 8)" class="cluster-label"><foreignObject height="19" width="95.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CREDENTIALS</span></div></foreignObject></g></g></g><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-A LE-B" id="L-A-B-0" d="M138.359,60L142.526,60C146.693,60,155.026,60,162.476,60C169.926,60,176.493,60,179.776,60L183.059,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-B LE-C" id="L-B-C-0" d="M330.563,60L334.729,60C338.896,60,347.229,60,354.679,60C362.129,60,368.696,60,371.979,60L375.263,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-C LE-D" id="L-C-D-0" d="M518.938,60L523.104,60C527.271,60,535.604,60,543.054,60C550.504,60,557.071,60,560.354,60L563.638,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-D LE-E" id="L-D-E-0" d="M675.625,60L679.792,60C683.958,60,692.292,60,699.742,60C707.192,60,713.758,60,717.042,60L720.325,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-E LE-F" id="L-E-F-0" d="M808.297,60L812.464,60C816.63,60,824.964,60,832.414,60C839.864,60,846.43,60,849.714,60L852.997,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-F LE-G" id="L-F-G-0" d="M997.047,60L1001.214,60C1005.38,60,1013.714,60,1021.164,60C1028.614,60,1035.18,60,1038.464,60L1041.747,60"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-G LE-H" id="L-G-H-0" d="M1206.797,60L1210.964,60C1215.13,60,1223.464,60,1230.914,60C1238.364,60,1244.93,60,1248.214,60L1251.497,60"/></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><a transform="translate(1334.375, 60)" data-id="H" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet"><g id="flowchart-H-10" class="node default interactive clickable flowchart-label"><rect height="34" width="155.15625" y="-17" x="-77.578125" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-70.078125, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="140.15625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Interactive browser</span></div></foreignObject></g></g></a><a transform="translate(85.6796875, 60)" data-id="A" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet"><g id="flowchart-A-3" class="node default deployed clickable flowchart-label"><rect height="34" width="105.359375" y="-17" x="-52.6796875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-45.1796875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="90.359375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Environment</span></div></foreignObject></g></g></a><a transform="translate(259.4609375, 60)" data-id="B" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet"><g id="flowchart-B-4" class="node default deployed clickable flowchart-label"><rect height="34" width="142.203125" y="-17" x="-71.1015625" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-63.6015625, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="127.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Workload Identity</span></div></foreignObject></g></g></a><a transform="translate(449.75, 60)" data-id="C" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet"><g id="flowchart-C-5" class="node default deployed clickable flowchart-label"><rect height="34" width="138.375" y="-17" x="-69.1875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-61.6875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="123.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Managed Identity</span></div></foreignObject></g></g></a><a transform="translate(622.28125, 60)" data-id="D" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet"><g id="flowchart-D-6" class="node default developer clickable flowchart-label"><rect height="34" width="106.6875" y="-17" x="-53.34375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-45.84375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="91.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Visual Studio</span></div></foreignObject></g></g></a><a transform="translate(766.9609375, 60)" data-id="E" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.azureclicredential?view=azure-dotnet"><g id="flowchart-E-7" class="node default developer clickable flowchart-label"><rect height="34" width="82.671875" y="-17" x="-41.3359375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-33.8359375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="67.671875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure CLI</span></div></foreignObject></g></g></a><a transform="translate(927.671875, 60)" data-id="F" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet"><g id="flowchart-F-8" class="node default developer clickable flowchart-label"><rect height="34" width="138.75" y="-17" x="-69.375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-61.875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="123.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure PowerShell</span></div></foreignObject></g></g></a><a transform="translate(1126.921875, 60)" data-id="G" data-node="true" xlink:href="https://learn.microsoft.com/dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet"><g id="flowchart-G-9" class="node default developer clickable flowchart-label"><rect height="34" width="159.75" y="-17" x="-79.875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-72.375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="144.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure Developer CLI</span></div></foreignObject></g></g></a></g></g><g transform="translate(456.8828125, 146)" class="root"><g class="clusters"><g id="subGraph0" class="cluster default flowchart-label"><rect height="104" width="500.1875" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(190.65625, 8)" class="cluster-label"><foreignObject height="19" width="134.875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CREDENTIAL TYPES</span></div></foreignObject></g></g></g><g class="edgePaths"><path style="stroke-width: 0;fill:none;" class="edge-thickness-thick edge-pattern-solid flowchart-link LS-Deployed LE-Developer" id="L-Deployed-Developer-0" d="M169.578,60L173.745,60C177.911,60,186.245,60,194.578,60C202.911,60,211.245,60,215.411,60L219.578,60"/><path style="stroke-width: 0;fill:none;" class="edge-thickness-thick edge-pattern-solid flowchart-link LS-Developer LE-Interactive" id="L-Developer-Interactive-0" d="M339.906,60L344.073,60C348.24,60,356.573,60,364.906,60C373.24,60,381.573,60,385.74,60L389.906,60"/></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(436.546875, 60)" data-id="Interactive" data-node="true" id="flowchart-Interactive-2" class="node default interactive flowchart-label"><rect height="34" width="93.28125" y="-17" x="-46.640625" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-39.140625, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="78.28125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Interactive</span></div></foreignObject></g></g><g transform="translate(101.2890625, 60)" data-id="Deployed" data-node="true" id="flowchart-Deployed-0" class="node default deployed flowchart-label"><rect height="34" width="136.578125" y="-17" x="-68.2890625" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-60.7890625, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="121.578125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Deployed service</span></div></foreignObject></g></g><g transform="translate(279.7421875, 60)" data-id="Developer" data-node="true" id="flowchart-Developer-1" class="node default developer flowchart-label"><rect height="34" width="120.328125" y="-17" x="-60.1640625" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-52.6640625, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="105.328125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Developer tool</span></div></foreignObject></g></g></g></g></g></g></g></svg> \ No newline at end of file diff --git a/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.svg b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.svg new file mode 100644 index 0000000000000..d8f1ff33f5604 --- /dev/null +++ b/docs/azure/sdk/media/mermaidjs/DefaultAzureCredentialExcludes.svg @@ -0,0 +1 @@ +<svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -8 842.234375 50" style="max-width: 842.234px; background-color: white;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#fff;}#my-svg .error-text{fill:#000000;stroke:#000000;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#0b0b0b;stroke:#0b0b0b;}#my-svg .marker.cross{stroke:#0b0b0b;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#000000;}#my-svg .cluster-label span,#my-svg p{color:#000000;}#my-svg .label text,#my-svg span,#my-svg p{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#fff4dd;stroke:hsl(40.5882352941, 60%, 83.3333333333%);stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:#0b0b0b;}#my-svg .edgePath .path{stroke:#0b0b0b;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:#0b0b0b;fill:none;}#my-svg .edgeLabel{background-color:hsl(-79.4117647059, 100%, 93.3333333333%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(-79.4117647059, 100%, 93.3333333333%);fill:hsl(-79.4117647059, 100%, 93.3333333333%);}#my-svg .labelBkg{background-color:rgba(243.9999999999, 220.9999999998, 255, 0.5);}#my-svg .cluster rect{fill:#fff;stroke:#fff;stroke-width:1px;}#my-svg .cluster text{fill:#000000;}#my-svg .cluster span,#my-svg p{color:#000000;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:#fff;border:1px solid #fff;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}#my-svg .deployed>*{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .deployed span{fill:#95C37E!important;stroke:#71AD4C!important;stroke-width:2px!important;}#my-svg .developer>*{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}#my-svg .developer span{fill:#F5AF6F!important;stroke:#EB7C39!important;stroke-width:2px!important;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-C LE-D" id="L-C-D-0" d="M138.375,17L142.542,17C146.708,17,155.042,17,162.492,17C169.942,17,176.508,17,179.792,17L183.075,17"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-D LE-E" id="L-D-E-0" d="M295.063,17L299.229,17C303.396,17,311.729,17,319.179,17C326.629,17,333.196,17,336.479,17L339.763,17"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-E LE-F" id="L-E-F-0" d="M427.734,17L431.901,17C436.068,17,444.401,17,451.851,17C459.301,17,465.868,17,469.151,17L472.434,17"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-F LE-G" id="L-F-G-0" d="M616.484,17L620.651,17C624.818,17,633.151,17,640.601,17C648.051,17,654.618,17,657.901,17L661.184,17"/></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(69.1875, 17)" data-id="C" data-node="true" id="flowchart-C-0" class="node default deployed flowchart-label"><rect height="34" width="138.375" y="-17" x="-69.1875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-61.6875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="123.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Managed Identity</span></div></foreignObject></g></g><g transform="translate(241.71875, 17)" data-id="D" data-node="true" id="flowchart-D-1" class="node default developer flowchart-label"><rect height="34" width="106.6875" y="-17" x="-53.34375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-45.84375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="91.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Visual Studio</span></div></foreignObject></g></g><g transform="translate(386.3984375, 17)" data-id="E" data-node="true" id="flowchart-E-2" class="node default developer flowchart-label"><rect height="34" width="82.671875" y="-17" x="-41.3359375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-33.8359375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="67.671875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure CLI</span></div></foreignObject></g></g><g transform="translate(547.109375, 17)" data-id="F" data-node="true" id="flowchart-F-3" class="node default developer flowchart-label"><rect height="34" width="138.75" y="-17" x="-69.375" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-61.875, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="123.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure PowerShell</span></div></foreignObject></g></g><g transform="translate(746.359375, 17)" data-id="G" data-node="true" id="flowchart-G-4" class="node default developer flowchart-label"><rect height="34" width="159.75" y="-17" x="-79.875" ry="5" rx="5" style="" class="basic label-container"/><g transform="translate(-72.375, -9.5)" style="" class="label"><rect/><foreignObject height="19" width="144.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Azure Developer CLI</span></div></foreignObject></g></g></g></g></g></svg> \ No newline at end of file diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/AuthenticationSampleApp.csproj b/docs/azure/sdk/snippets/authentication/credential-chains/AuthenticationSampleApp.csproj new file mode 100644 index 0000000000000..b8ea77858086c --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/AuthenticationSampleApp.csproj @@ -0,0 +1,17 @@ +<Project Sdk="Microsoft.NET.Sdk.Web"> + + <PropertyGroup> + <TargetFramework>net8.0</TargetFramework> + <Nullable>enable</Nullable> + <ImplicitUsings>enable</ImplicitUsings> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="Azure.Identity" Version="1.12.0" /> + <PackageReference Include="Azure.Storage.Blobs" Version="12.21.1" /> + <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.7" /> + <PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.4" /> + <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> + </ItemGroup> + +</Project> diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/Program.cs b/docs/azure/sdk/snippets/authentication/credential-chains/Program.cs new file mode 100644 index 0000000000000..06eb79507d8c2 --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/Program.cs @@ -0,0 +1,116 @@ +using System.Diagnostics.Tracing; +using Azure.Core; +using Azure.Core.Diagnostics; +using Azure.Identity; +using Microsoft.Extensions.Azure; + +var userAssignedClientId = "<user-assigned-client-id>"; +var builder = WebApplication.CreateBuilder(args); + +#region snippet_FilteredLogging +using AzureEventSourceListener listener = new((args, message) => +{ + if (args is { EventSource.Name: "Azure-Identity" }) + { + Console.WriteLine(message); + } +}, EventLevel.LogAlways); +#endregion snippet_FilteredLogging + +builder.Services.AddAzureClients(clientBuilder => +{ + clientBuilder.AddBlobServiceClient( + new Uri("https://<account-name>.blob.core.windows.net")); + #region snippet_Dac + clientBuilder.UseCredential(new DefaultAzureCredential()); + #endregion snippet_Dac + + #region snippet_DacExcludes + clientBuilder.UseCredential(new DefaultAzureCredential( + new DefaultAzureCredentialOptions + { + ExcludeEnvironmentCredential = true, + ExcludeWorkloadIdentityCredential = true, + ManagedIdentityClientId = userAssignedClientId, + })); + #endregion snippet_DacExcludes + + #region snippet_Ctc + clientBuilder.UseCredential(new ChainedTokenCredential( + new ManagedIdentityCredential(clientId: userAssignedClientId), + new VisualStudioCredential())); + #endregion snippet_Ctc +}); + +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(); + +var app = builder.Build(); + +#region snippet_NoChain +TokenCredential credential; + +if (app.Environment.IsProduction() || app.Environment.IsStaging()) +{ + credential = new ManagedIdentityCredential(clientId: userAssignedClientId); +} +else +{ + // local development environment + credential = new VisualStudioCredential(); +} +#endregion snippet_NoChain + +#region snippet_DacEquivalents +credential = new DefaultAzureCredential( + new DefaultAzureCredentialOptions + { + ExcludeEnvironmentCredential = true, + ExcludeWorkloadIdentityCredential = true, + ExcludeAzureCliCredential = true, + ExcludeAzurePowerShellCredential = true, + ExcludeAzureDeveloperCliCredential = true, + ManagedIdentityClientId = userAssignedClientId + }); +#endregion + +#region snippet_CtcEquivalents +credential = new ChainedTokenCredential( + new ManagedIdentityCredential(clientId: userAssignedClientId), + new VisualStudioCredential()); +#endregion + +if (app.Environment.IsDevelopment()) +{ + app.UseSwagger(); + app.UseSwaggerUI(); +} + +app.UseHttpsRedirection(); + +var summaries = new[] +{ + "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" +}; + +app.MapGet("/weatherforecast", () => +{ + var forecast = Enumerable.Range(1, 5).Select(index => + new WeatherForecast + ( + DateOnly.FromDateTime(DateTime.Now.AddDays(index)), + Random.Shared.Next(-20, 55), + summaries[Random.Shared.Next(summaries.Length)] + )) + .ToArray(); + return forecast; +}) +.WithName("GetWeatherForecast") +.WithOpenApi(); + +app.Run(); + +internal record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary) +{ + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); +} diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/Properties/launchSettings.json b/docs/azure/sdk/snippets/authentication/credential-chains/Properties/launchSettings.json new file mode 100644 index 0000000000000..749eb1b53250e --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/Properties/launchSettings.json @@ -0,0 +1,41 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:43556", + "sslPort": 44331 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "http://localhost:5268", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "https://localhost:7076;http://localhost:5268", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.Development.json b/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.Development.json new file mode 100644 index 0000000000000..0c208ae9181e5 --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.json b/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.json new file mode 100644 index 0000000000000..10f68b8c8b4f7 --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/docs/azure/sdk/snippets/authentication/credential-chains/dac-logs.txt b/docs/azure/sdk/snippets/authentication/credential-chains/dac-logs.txt new file mode 100644 index 0000000000000..65a75e4608412 --- /dev/null +++ b/docs/azure/sdk/snippets/authentication/credential-chains/dac-logs.txt @@ -0,0 +1,11 @@ +DefaultAzureCredential.GetToken invoked. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 +EnvironmentCredential.GetToken invoked. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 +EnvironmentCredential.GetToken was unable to retrieve an access token. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 Exception: Azure.Identity.CredentialUnavailableException (0x80131500): EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot +WorkloadIdentityCredential.GetToken invoked. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 +WorkloadIdentityCredential.GetToken was unable to retrieve an access token. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 Exception: Azure.Identity.CredentialUnavailableException (0x80131500): WorkloadIdentityCredential authentication unavailable. The workload options are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/workloadidentitycredential/troubleshoot +ManagedIdentityCredential.GetToken invoked. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 +ManagedIdentityCredential.GetToken was unable to retrieve an access token. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 Exception: Azure.Identity.CredentialUnavailableException (0x80131500): ManagedIdentityCredential authentication unavailable. No response received from the managed identity endpoint. +VisualStudioCredential.GetToken invoked. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 +VisualStudioCredential.GetToken succeeded. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 ExpiresOn: 2024-08-13T17:16:50.8023621+00:00 +DefaultAzureCredential credential selected: Azure.Identity.VisualStudioCredential +DefaultAzureCredential.GetToken succeeded. Scopes: [ https://api.loganalytics.io//.default ] ParentRequestId: d7ef15d1-50f8-451d-afeb-6b06297a3342 ExpiresOn: 2024-08-13T17:16:50.8023621+00:00