4 references to AllowUnsecuredTransport
Aspire.Hosting (4)
Dashboard\TransportOptionsValidator.cs (3)
37
return ValidateOptionsResult.Fail($"The 'applicationUrl' setting must be an https address unless the '{KnownConfigNames.
AllowUnsecuredTransport
}' environment variable is set to true. This configuration is commonly set in the launch profile. See https://aka.ms/dotnet/aspire/allowunsecuredtransport for more details.");
71
return ValidateOptionsResult.Fail($"The '{KnownConfigNames.ResourceServiceEndpointUrl}' setting must be an https address unless the '{KnownConfigNames.
AllowUnsecuredTransport
}' environment variable is set to true. This configuration is commonly set in the launch profile. See https://aka.ms/dotnet/aspire/allowunsecuredtransport for more details.");
88
result = ValidateOptionsResult.Fail($"The '{configName}' setting must be an https address unless the '{KnownConfigNames.
AllowUnsecuredTransport
}' environment variable is set to true. This configuration is commonly set in the launch profile. See https://aka.ms/dotnet/aspire/allowunsecuredtransport for more details.");
DistributedApplicationBuilder.cs (1)
367
if (Configuration.GetBool(KnownConfigNames.
AllowUnsecuredTransport
) is { } allowUnsecuredTransport)