26 references to UriHelper
Certificate.Optional.Sample (1)
HeaderPropagationSample (1)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Extensions.Tests (10)
UriHelperTests.cs (10)
11var result = UriHelper.BuildRelative();
19var result = UriHelper.BuildRelative(new PathString("/un?escaped/base"), new PathString("/un?escaped"),
28var result = UriHelper.BuildAbsolute("http", new HostString(string.Empty));
36var result = UriHelper.BuildAbsolute("http", new HostString("my.HoΨst:80"), new PathString("/un?escaped/base"), new PathString("/un?escaped"),
72var uri = UriHelper.BuildAbsolute(
140UriHelper.FromAbsolute(uri, out scheme, out host, out path, out query, out fragment);
157var request = UriHelper.BuildAbsolute(scheme, host, path: path, query: query, fragment: fragment);
164UriHelper.FromAbsolute(request, out resScheme, out resHost, out resPath, out resQuery, out resFragment);
180Assert.Throws<ArgumentNullException>(() => UriHelper.BuildAbsolute(null, resHost, resPath, resPath, resQuery, resFragment));
192Assert.Throws<ArgumentNullException>(() => UriHelper.FromAbsolute(null, out resScheme, out resHost, out resPath, out resQuery, out resFragment));
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.AspNetCore.Rewrite (6)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.StaticFiles (1)