1 instantiation of ProxySupportAnnotation
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
619
builder.WithAnnotation(new
ProxySupportAnnotation
{ ProxyEnabled = proxyEnabled }, ResourceAnnotationMutationBehavior.Replace);
4 references to ProxySupportAnnotation
Aspire.Hosting (4)
ApplicationModel\ProxySupportAnnotation.cs (1)
16
/// Create a new instance of the <see cref="
ProxySupportAnnotation
"/> class.
ApplicationModel\ResourceExtensions.cs (3)
339
/// Determines whether a resource has proxy support enabled or not. Container resources may have a <see cref="
ProxySupportAnnotation
"/> setting that disables proxying for their
347
return !resource.TryGetLastAnnotation<
ProxySupportAnnotation
>(out
var
proxySupportAnnotation) || proxySupportAnnotation.ProxyEnabled;