11 references to WithUrl
Aspire.Hosting (1)
ExternalServiceBuilderExtensions.cs (1)
92
resourceBuilder.
WithUrl
(resource.Uri.ToString());
Aspire.Hosting.Tests (7)
WithUrlsTests.cs (7)
165
.
WithUrl
("https://example.com", "Example")
454
.
WithUrl
("https://example.com/project")
497
.
WithUrl
("https://example.com/project");
501
.
WithUrl
("https://example.com/custom")
769
.
WithUrl
("https://static-before.com")
771
.
WithUrl
("/test", "Example") // This should update all URLs added to this point
772
.
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)
37
.
WithUrl
("https://www.speaking-clock.com/", "Speaking Clock")
Stress.AppHost (2)
Program.cs (2)
98
.
WithUrl
("https://someotherplace.com/some-path", "Some other place")
99
.
WithUrl
("https://extremely-long-url.com/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz//abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmnopqrstuvwxyz/abcdefghijklmno")