1 write to Server
Microsoft.AspNetCore.Hosting (1)
Internal\WebHost.cs (1)
259
Server
= _applicationServices.GetRequiredService<IServer>();
9 references to Server
Microsoft.AspNetCore.Hosting (9)
Internal\WebHost.cs (9)
91
return
Server
.Features;
146
await
Server
.StartAsync(hostingApp, cancellationToken).ConfigureAwait(false);
199
[MemberNotNull(nameof(
Server
))]
210
var builder = builderFactory.CreateBuilder(
Server
.Features);
252
[MemberNotNull(nameof(
Server
))]
257
if (
Server
== null)
261
var serverAddressesFeature =
Server
.Features?.Get<IServerAddressesFeature>();
296
if (
Server
!= null && _startedServer)
298
await
Server
.StopAsync(cancellationToken).ConfigureAwait(false);