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