1 instantiation of AzureAppServiceWebsiteContext
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentContext.cs (1)
40
_appServices[resource] = context = new
AzureAppServiceWebsiteContext
(resource, this);
8 references to AzureAppServiceWebsiteContext
Aspire.Hosting.Azure.AppService (8)
AzureAppServiceEnvironmentContext.cs (4)
24
private readonly Dictionary<IResource,
AzureAppServiceWebsiteContext
> _appServices = new(new ResourceNameComparer());
26
public
AzureAppServiceWebsiteContext
GetAppServiceContext(IResource resource)
28
if (!_appServices.TryGetValue(resource, out
var
context))
38
if (!_appServices.TryGetValue(resource, out
var
context))
AzureAppServiceEnvironmentResource.cs (2)
184
var
appServiceContext = contextAnnotation.EnvironmentContext.GetAppServiceContext(computeResource);
220
private static string? ValidateEnvironmentVariableNames(IResource resource,
AzureAppServiceWebsiteContext
appServiceContext)
AzureAppServiceWebsiteContext.cs (2)
152
var
context = environmentContext.GetAppServiceContext(ep.Resource);
191
var
context = environmentContext.GetAppServiceContext(epExpr.Endpoint.Resource);