12 references to WithUrl
Aspire.Hosting (2)
ExternalServiceBuilderExtensions.cs (1)
116resourceBuilder.WithUrl(resource.Uri.ToString());
ResourceBuilderExtensions.cs (1)
2082string urlString => builder.WithUrl(urlString, displayText),
Aspire.Hosting.Tests (7)
WithUrlsTests.cs (7)
165.WithUrl("https://example.com", "Example") 434.WithUrl("https://example.com/project") 466.WithUrl("https://example.com/project"); 543.WithUrl("https://example.com/custom") 750.WithUrl("https://static-before.com") 752.WithUrl("/test", "Example") // This should update all URLs added to this point 753.WithUrl("https://static-after.com/sub-path") // This will get updated too because it's a static URL so order doesn't matter
CustomResources.AppHost (1)
TalkingClockResource.cs (1)
38.WithUrl("https://www.speaking-clock.com/", "Speaking Clock")
Stress.AppHost (2)
AppHost.cs (2)
86.WithUrl("https://someotherplace.com/some-path", "Some other place") 87.WithUrl("https://extremely-long-url.com/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz//abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmno");