17 references to ResourceServiceEndpointUrl
Aspire.Hosting (5)
Dashboard\TransportOptionsValidator.cs (4)
58var resourceServiceEndpointUrl = configuration.GetString(KnownConfigNames.ResourceServiceEndpointUrl, KnownConfigNames.Legacy.ResourceServiceEndpointUrl); 61return ValidateOptionsResult.Fail($"AppHost does not have the {KnownConfigNames.ResourceServiceEndpointUrl} setting defined."); 66return ValidateOptionsResult.Fail($"The {KnownConfigNames.ResourceServiceEndpointUrl} setting with a value of '{resourceServiceEndpointUrl}' could not be parsed as a URI."); 71return 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.");
src\Shared\DashboardConfigNames.cs (1)
15public static readonly ConfigName ResourceServiceUrlName = new(KnownConfigNames.ResourceServiceEndpointUrl);
Aspire.Hosting.Tests (12)
Dashboard\DashboardResourceTests.cs (1)
122Assert.Equal(KnownConfigNames.ResourceServiceEndpointUrl, e.Key);
Dashboard\TransportOptionsValidatorTests.cs (11)
145[InlineData(KnownConfigNames.ResourceServiceEndpointUrl)] 163$"AppHost does not have the {KnownConfigNames.ResourceServiceEndpointUrl} setting defined.", 180config[KnownConfigNames.ResourceServiceEndpointUrl] = "https://localhost:1235"; 193[InlineData(KnownConfigNames.ResourceServiceEndpointUrl)] 212$"The {KnownConfigNames.ResourceServiceEndpointUrl} setting with a value of '{invalidUrl}' could not be parsed as a URI.", 232config[KnownConfigNames.ResourceServiceEndpointUrl] = "https://localhost:1235"; 256config[KnownConfigNames.ResourceServiceEndpointUrl] = "https://localhost:1235"; 269[InlineData(KnownConfigNames.ResourceServiceEndpointUrl)] 287$"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.", 325[InlineData(KnownConfigNames.DashboardOtlpHttpEndpointUrl, KnownConfigNames.ResourceServiceEndpointUrl)] 326[InlineData(KnownConfigNames.Legacy.DashboardOtlpHttpEndpointUrl, KnownConfigNames.ResourceServiceEndpointUrl)]