1 instantiation of AzureAppServiceWebsiteContext
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentContext.cs (1)
76_appServices[resource] = context = new AzureAppServiceWebsiteContext(resource, this);
8 references to AzureAppServiceWebsiteContext
Aspire.Hosting.Azure.AppService (8)
AzureAppServiceEnvironmentContext.cs (4)
24private readonly Dictionary<IResource, AzureAppServiceWebsiteContext> _appServices = new(new ResourceNameComparer()); 62public AzureAppServiceWebsiteContext GetAppServiceContext(IResource resource) 64if (!_appServices.TryGetValue(resource, out var context)) 74if (!_appServices.TryGetValue(resource, out var context))
AzureAppServiceEnvironmentResource.cs (2)
282var appServiceContext = contextAnnotation.EnvironmentContext.GetAppServiceContext(computeResource); 318private static string? ValidateEnvironmentVariableNames(IResource resource, AzureAppServiceWebsiteContext appServiceContext)
AzureAppServiceWebsiteContext.cs (2)
213var context = environmentContext.GetAppServiceContext(ep.Resource); 258var context = environmentContext.GetAppServiceContext(epExpr.Endpoint.Resource);