1 write to BaseUri
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
198
BaseUri
= baseUri;
13 references to BaseUri
Microsoft.AspNetCore.Components (9)
NavigationManager.cs (8)
47
/// Gets or sets the current base URI. The <see cref="
BaseUri
" /> is always represented as an absolute URI in string form with trailing slash.
51
/// Setting <see cref="
BaseUri
" /> will not trigger the <see cref="LocationChanged" /> event.
103
/// (as returned by <see cref="
BaseUri
"/>).</param>
112
/// (as returned by <see cref="
BaseUri
"/>).</param>
139
/// (as returned by <see cref="
BaseUri
"/>).</param>
151
/// (as returned by <see cref="
BaseUri
"/>).</param>
164
/// (as returned by <see cref="
BaseUri
"/>).</param>
223
/// Given a base URI (e.g., one previously returned by <see cref="
BaseUri
"/>),
Routing\Router.cs (1)
105
_baseUri = NavigationManager.
BaseUri
;
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
175
var hostEnvironment = new WebAssemblyHostEnvironment(applicationEnvironment, WebAssemblyNavigationManager.Instance.
BaseUri
);
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
Hosting\WebAssemblyHostBuilderTest.cs (1)
149
Assert.Equal("https://www.example.com/", navigationManager.
BaseUri
);
MyFrontend (2)
Components\NavigationManagerExtensions.cs (2)
9
if (uri.StartsWith(navigationManager.
BaseUri
, StringComparison.Ordinal))
16
var message = $"The URI '{uri}' is not contained by the base URI '{navigationManager.
BaseUri
}'.";