WebHost Class¶
- Namespace
Microsoft.AspNetCore.Hosting.Internal- Assemblies
- Microsoft.AspNetCore.Hosting
Syntax¶
public class WebHost : IWebHost, IDisposable
-
class
Microsoft.AspNetCore.Hosting.Internal.WebHost
Constructors¶
-
WebHost(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.IServiceProvider, Microsoft.AspNetCore.Hosting.Internal.WebHostOptions, Microsoft.Extensions.Configuration.IConfiguration)¶ public WebHost(IServiceCollection appServices, IServiceProvider hostingServiceProvider, WebHostOptions options, IConfiguration config)
-
Properties¶
-
Microsoft.AspNetCore.Hosting.Internal.WebHost.ServerFeatures¶ Return type: Microsoft.AspNetCore.Http.Features.IFeatureCollection public IFeatureCollection ServerFeatures { get; }
-
Microsoft.AspNetCore.Hosting.Internal.WebHost.Services¶ Return type: System.IServiceProvider public IServiceProvider Services { get; }
-