Skip to content

Commit 3ede82b

Browse files
authored
Merge pull request #9394 from joperezr/MergeToMain
Merge branch release/9.3 into main
2 parents 1b76ab9 + bf89c05 commit 3ede82b

25 files changed

+41
-30
lines changed

src/Aspire.Hosting.Azure.AppContainers/Aspire.Hosting.Azure.AppContainers.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<PackageReference Include="Azure.Provisioning.KeyVault" />
2020
<PackageReference Include="Azure.Provisioning.Storage" />
2121
<ProjectReference Include="..\Aspire.Hosting.Azure\Aspire.Hosting.Azure.csproj" />
22-
<ProjectReference Include="..\Aspire.Hosting.Azure.ContainerRegistry\Aspire.Hosting.Azure.ContainerRegistry.csproj" />
2322
</ItemGroup>
2423

2524
</Project>

src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ public static IResourceBuilder<AzureContainerAppEnvironmentResource> AddAzureCon
9999
infra.Add(identity);
100100

101101
ContainerRegistryService? containerRegistry = null;
102+
#pragma warning disable ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
102103
if (appEnvResource.TryGetLastAnnotation<ContainerRegistryReferenceAnnotation>(out var registryReferenceAnnotation) && registryReferenceAnnotation.Registry is AzureProvisioningResource registry)
104+
#pragma warning restore ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
103105
{
104106
containerRegistry = (ContainerRegistryService)registry.AddAsExistingResource(infra);
105107
}

src/Aspire.Hosting.Azure.AppService/Aspire.Hosting.Azure.AppService.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<PackageReference Include="Azure.Provisioning.AppService" />
1818
<PackageReference Include="Azure.Provisioning.ContainerRegistry" />
1919
<ProjectReference Include="..\Aspire.Hosting.Azure\Aspire.Hosting.Azure.csproj" />
20-
<ProjectReference Include="..\Aspire.Hosting.Azure.ContainerRegistry\Aspire.Hosting.Azure.ContainerRegistry.csproj" />
2120
</ItemGroup>
2221

2322
</Project>

src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ public static IResourceBuilder<AzureAppServiceEnvironmentResource> AddAzureAppSe
5959
infra.Add(identity);
6060

6161
ContainerRegistryService? containerRegistry = null;
62+
#pragma warning disable ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
6263
if (resource.TryGetLastAnnotation<ContainerRegistryReferenceAnnotation>(out var registryReferenceAnnotation) && registryReferenceAnnotation.Registry is AzureProvisioningResource registry)
64+
#pragma warning restore ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
6365
{
6466
containerRegistry = (ContainerRegistryService)registry.AddAsExistingResource(infra);
6567
}

src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentResource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Aspire.Hosting.ApplicationModel;
55

6-
namespace Aspire.Hosting.Azure.AppService;
6+
namespace Aspire.Hosting.Azure;
77

88
/// <summary>
99
/// Represents an Azure App Service Environment resource.
@@ -33,4 +33,4 @@ public class AzureAppServiceEnvironmentResource(string name, Action<AzureResourc
3333

3434
ReferenceExpression IContainerRegistry.Endpoint =>
3535
ReferenceExpression.Create($"{ContainerRegistryUrl}");
36-
}
36+
}

src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
using Aspire.Hosting.ApplicationModel;
77
using Aspire.Hosting.Azure;
8-
using Aspire.Hosting.Azure.ContainerRegistry;
98
using Azure.Provisioning;
109
using Azure.Provisioning.ContainerRegistry;
1110

src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryResource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#pragma warning disable ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
1+
#pragma warning disable ASPIRECOMPUTE001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
22

33
// Licensed to the .NET Foundation under one or more agreements.
44
// The .NET Foundation licenses this file to you under the MIT license.
@@ -7,7 +7,7 @@
77
using Azure.Provisioning.ContainerRegistry;
88
using Azure.Provisioning.Primitives;
99

10-
namespace Aspire.Hosting.Azure.ContainerRegistry;
10+
namespace Aspire.Hosting.Azure;
1111

1212
/// <summary>
1313
/// Represents an Azure Container Registry resource.

src/Aspire.Hosting.Azure.Storage/AzureBlobStorageContainerResource.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
using System.Diagnostics.CodeAnalysis;
55
using System.Runtime.CompilerServices;
66
using Aspire.Hosting.ApplicationModel;
7-
using Aspire.Hosting.Azure;
87
using Azure.Provisioning;
98

10-
namespace Aspire.Hosting;
9+
namespace Aspire.Hosting.Azure;
1110

1211
/// <summary>
1312
/// A resource that represents an Azure Blob Storage container.

src/Aspire.Hosting.Azure/AzureEnvironmentResourceExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics.CodeAnalysis;
5-
using Aspire.Hosting;
65
using Aspire.Hosting.ApplicationModel;
7-
using Aspire.Hosting.Azure;
6+
7+
namespace Aspire.Hosting.Azure;
88

99
/// <summary>
1010
/// Provides extension methods for adding Azure environment resources to the application model.

src/Aspire.Hosting.Azure/AzurePublishingContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public sealed class AzurePublishingContext(
3030
/// <summary>
3131
/// Gets the main.bicep infrastructure for the distributed application.
3232
/// </summary>
33-
public Infrastructure MainInfrastructure = new()
33+
public Infrastructure MainInfrastructure { get; } = new()
3434
{
3535
TargetScope = DeploymentScope.Subscription
3636
};

0 commit comments

Comments
 (0)