15 references to BlazorGatewayExtensions
Aspire.Hosting.Blazor (5)
BlazorGatewayExtensions.cs (2)
733
var assemblyDir = Path.GetDirectoryName(typeof(
BlazorGatewayExtensions
).Assembly.Location)!;
931
return typeof(
BlazorGatewayExtensions
).Assembly
BlazorHostedExtensions.cs (1)
233
var httpOtlpEndpointUrl =
BlazorGatewayExtensions
.ResolveHttpOtlpEndpointUrl(context, host.ApplicationBuilder.Configuration);
Resources\BlazorWasmAppResource.cs (2)
30
/// Defaults to <c>"msedge"</c>. Configure it with <see cref="
BlazorGatewayExtensions
.WithBlazorDebuggerBrowser"/>.
36
/// Set internally when <see cref="
BlazorGatewayExtensions
.WithBlazorClientApp(IResourceBuilder{ProjectResource}, IResourceBuilder{BlazorWasmAppResource}, string, string, bool)"/> associates
Aspire.Hosting.Blazor.Tests (10)
AddBlazorGatewayTests.cs (10)
121
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
141
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
158
Assert.Throws<NotSupportedException>(() =>
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
175
Path.Combine(Path.GetDirectoryName(typeof(
BlazorGatewayExtensions
).Assembly.Location)!, "Scripts", "PrefixEndpoints.cs"));
179
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
362
BlazorGatewayExtensions
.ValidateBlazorWasmPublishTargetFramework(targetFramework);
373
() =>
BlazorGatewayExtensions
.ValidateBlazorWasmPublishTargetFramework(targetFramework));
433
Assert.Equal(solutionRoot.FullName,
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));
452
() =>
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));
473
() =>
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));