1 write to _app
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
122
_app
= builder.Build();
8 references to _app
Aspire.Hosting (8)
Dashboard\DashboardServiceHost.cs (8)
124
_app
.UseAuthentication();
125
_app
.UseAuthorization();
127
_app
.MapGrpcService<DashboardService>();
203
if (
_app
is not null)
205
await
_app
.StartAsync(cancellationToken).ConfigureAwait(false);
207
var addressFeature =
_app
.Services.GetService<IServer>()?.Features.Get<IServerAddressesFeature>();
223
if (
_app
is not null)
225
await
_app
.StopAsync(cancellationToken).ConfigureAwait(false);