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