1 write to _app
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
118
_app
= builder.Build();
8 references to _app
Aspire.Hosting (8)
Dashboard\DashboardServiceHost.cs (8)
120
_app
.UseAuthentication();
121
_app
.UseAuthorization();
123
_app
.MapGrpcService<DashboardService>();
199
if (
_app
is not null)
201
await
_app
.StartAsync(cancellationToken).ConfigureAwait(false);
203
var addressFeature =
_app
.Services.GetService<IServer>()?.Features.Get<IServerAddressesFeature>();
219
if (
_app
is not null)
221
await
_app
.StopAsync(cancellationToken).ConfigureAwait(false);