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)
280var appServiceContext = contextAnnotation.EnvironmentContext.GetAppServiceContext(computeResource); 316private static string? ValidateEnvironmentVariableNames(IResource resource, AzureAppServiceWebsiteContext appServiceContext)
AzureAppServiceWebsiteContext.cs (2)
179var context = environmentContext.GetAppServiceContext(ep.Resource); 224var context = environmentContext.GetAppServiceContext(epExpr.Endpoint.Resource);