16 writes to BaseAddress
Microsoft.AspNetCore.Authentication.Test (2)
CertificateTests.cs (1)
902server.BaseAddress = baseAddress;
CookieTests.cs (1)
1882server.BaseAddress = baseAddress;
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
401server.BaseAddress = baseAddress;
Microsoft.AspNetCore.ResponseCompression.Tests (3)
ResponseCompressionMiddlewareTest.cs (3)
470server.BaseAddress = new Uri("https://localhost/"); 533server.BaseAddress = new Uri("https://localhost/"); 596server.BaseAddress = new Uri("https://localhost/");
Microsoft.AspNetCore.Rewrite.Tests (7)
ApacheModRewrite\ModRewriteMiddlewareTest.cs (2)
431server.BaseAddress = new Uri("http://localhost:5000/foo"); 461server.BaseAddress = new Uri("http://localhost:5000/foo");
IISUrlRewrite\MiddleWareTests.cs (1)
430server.BaseAddress = new Uri("http://localhost:5000/foo");
MiddlewareTests.cs (4)
169server.BaseAddress = new Uri(baseAddress); 324server.BaseAddress = new Uri("http://" + baseAddress); 354server.BaseAddress = new Uri("http://example.com"); 722server.BaseAddress = new Uri("http://localhost:5000/foo");
Microsoft.AspNetCore.TestHost (1)
TestServer.cs (1)
53BaseAddress = options.BaseAddress;
Microsoft.AspNetCore.TestHost.Tests (2)
HttpContextBuilderTests.cs (2)
22server.BaseAddress = new Uri("https://example.com/A/Path/"); 53server.BaseAddress = new Uri("https://example.com/");
12 references to BaseAddress
Microsoft.AspNetCore.SignalR.Client.Tests (2)
TestServerTests.cs (2)
39.WithUrl(server.BaseAddress + "echo", options => 90.WithUrl(server.BaseAddress + "echo", options =>
Microsoft.AspNetCore.TestHost (9)
TestServer.cs (9)
146private PathString PathBase => BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress); 179BaseAddress = BaseAddress, 189var pathBase = BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress); 215request.Scheme = BaseAddress.Scheme; 216request.Host = HostString.FromUriComponent(BaseAddress); 217if (BaseAddress.IsDefaultPort) 221var pathBase = PathString.FromUriComponent(BaseAddress);
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
387Assert.Equal(baseAddress, testServer.BaseAddress);