15 references to BlazorGatewayExtensions
Aspire.Hosting.Blazor (5)
BlazorGatewayExtensions.cs (2)
736
var assemblyDir = Path.GetDirectoryName(typeof(
BlazorGatewayExtensions
).Assembly.Location)!;
934
return typeof(
BlazorGatewayExtensions
).Assembly
BlazorHostedExtensions.cs (1)
233
var httpOtlpEndpointUrl =
BlazorGatewayExtensions
.ResolveHttpOtlpEndpointUrl(context, host.ApplicationBuilder.Configuration);
Resources\BlazorWasmAppResource.cs (2)
33
/// Defaults to <c>"msedge"</c>. Configure it with <see cref="
BlazorGatewayExtensions
.WithBlazorDebuggerBrowser"/>.
39
/// Set internally when <see cref="
BlazorGatewayExtensions
.WithBlazorClientApp(IResourceBuilder{ProjectResource}, IResourceBuilder{BlazorWasmAppResource}, string, string, bool)"/> associates
Aspire.Hosting.Blazor.Tests (10)
AddBlazorGatewayTests.cs (10)
146
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
166
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
183
Assert.Throws<NotSupportedException>(() =>
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
200
Path.Combine(Path.GetDirectoryName(typeof(
BlazorGatewayExtensions
).Assembly.Location)!, "Scripts", "PrefixEndpoints.cs"));
204
var dockerfile =
BlazorGatewayExtensions
.BuildBlazorWasmPublishDockerfile(
389
BlazorGatewayExtensions
.ValidateBlazorWasmPublishTargetFramework(targetFramework);
400
() =>
BlazorGatewayExtensions
.ValidateBlazorWasmPublishTargetFramework(targetFramework));
460
Assert.Equal(solutionRoot.FullName,
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));
479
() =>
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));
500
() =>
BlazorGatewayExtensions
.GetSolutionRoot(appHostDirectory, projectDirectory));