12 references to FromUriComponent
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
55options.CallbackPath = PathString.FromUriComponent(wreply);
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (1)
PathStringBenchmark.cs (1)
30var pathString = PathString.FromUriComponent(testUri);
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
PathStringTests.cs (3)
332var sut = PathString.FromUriComponent(uri); 353var sut = PathString.FromUriComponent(uri); 401var sut = PathString.FromUriComponent(new Uri(localhost + testString));
Microsoft.AspNetCore.Http.Extensions (1)
UriHelper.cs (1)
168pathBase: PathString.FromUriComponent(uri),
Microsoft.AspNetCore.Mvc.Core.Test (1)
RequireHttpsAttributeTests.cs (1)
176requestContext.Request.Path = PathString.FromUriComponent(uri);
Microsoft.AspNetCore.TestHost (5)
ClientHandler.cs (1)
180req.Path = PathString.FromUriComponent(request.RequestUri);
TestServer.cs (3)
146private PathString PathBase => BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress); 189var pathBase = BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress); 221var pathBase = PathString.FromUriComponent(BaseAddress);
WebSocketClient.cs (1)
71request.Path = PathString.FromUriComponent(uri);