IWebHost Interface¶
Represents a configured web host.
- Namespace
Microsoft.AspNetCore.Hosting- Assemblies
- Microsoft.AspNetCore.Hosting.Abstractions
Properties¶
-
Microsoft.AspNetCore.Hosting.IWebHost.ServerFeatures¶ The
Microsoft.AspNetCore.Http.Features.IFeatureCollectionexposed by the configured server.Return type: Microsoft.AspNetCore.Http.Features.IFeatureCollection IFeatureCollection ServerFeatures { get; }
-
Microsoft.AspNetCore.Hosting.IWebHost.Services¶ The
System.IServiceProviderfor the host.Return type: System.IServiceProvider IServiceProvider Services { get; }
-