RingDotNetfor Ring

Microsoft.AspNetCore.Hosting

26 wrapped types. Load them with using { "Microsoft.AspNetCore.Hosting" }. Click a class to open it.

DelegateStartup class · extends StartupBase<IServiceCollection>

Microsoft.AspNetCore.Hosting.DelegateStartup · assembly Microsoft.AspNetCore.Hosting

Constructors

new DelegateStartup(IServiceProviderFactory<IServiceCollection> factory, Action<IApplicationBuilder> configureApp)

Ring: new DelegateStartup(args) uses one constructor; the others are chosen by the parameter names: new DelegateStartup().@New([ :param = value ]) or dnNew("DelegateStartup",[ :param = value ]).

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1)void Configure(IApplicationBuilder app)
ConfigureContainercallMethod("ConfigureContainer",[p1])void ConfigureContainer(IServiceCollection builder)
ConfigureServicesConfigureServices(p1)void ConfigureServices(IServiceCollection services)
CreateServiceProvidercallMethod("CreateServiceProvider",[p1])IServiceProvider CreateServiceProvider(IServiceCollection services)

Members of the base class are inherited.

HostingAbstractionsWebHostBuilderExtensions class static

Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions · assembly Microsoft.AspNetCore.Hosting.Abstractions

Methods

MethodRing call.NET overloads
CaptureStartupErrorsCaptureStartupErrors(p1,p2)static IWebHostBuilder CaptureStartupErrors(IWebHostBuilder hostBuilder, bool captureStartupErrors)
PreferHostingUrlsPreferHostingUrls(p1,p2)static IWebHostBuilder PreferHostingUrls(IWebHostBuilder hostBuilder, bool preferHostingUrls)
StartStart(p1,p2)static IWebHost Start(IWebHostBuilder hostBuilder, string[] urls)
SuppressStatusMessagesSuppressStatusMessages(p1,p2)static IWebHostBuilder SuppressStatusMessages(IWebHostBuilder hostBuilder, bool suppressStatusMessages)
UseConfigurationUseConfiguration(p1,p2)static IWebHostBuilder UseConfiguration(IWebHostBuilder hostBuilder, IConfiguration configuration)
UseContentRootUseContentRoot(p1,p2)static IWebHostBuilder UseContentRoot(IWebHostBuilder hostBuilder, string contentRoot)
UseEnvironmentUseEnvironment(p1,p2)static IWebHostBuilder UseEnvironment(IWebHostBuilder hostBuilder, string environment)
UseServerUseServer(p1,p2)static IWebHostBuilder UseServer(IWebHostBuilder hostBuilder, IServer server)
UseShutdownTimeoutUseShutdownTimeout(p1,p2)static IWebHostBuilder UseShutdownTimeout(IWebHostBuilder hostBuilder, TimeSpan timeout)
UseStartupUseStartup(p1,p2)static IWebHostBuilder UseStartup(IWebHostBuilder hostBuilder, string startupAssemblyName)
UseUrlsUseUrls(p1,p2)static IWebHostBuilder UseUrls(IWebHostBuilder hostBuilder, string[] urls)
UseWebRootUseWebRoot(p1,p2)static IWebHostBuilder UseWebRoot(IWebHostBuilder hostBuilder, string webRoot)
HostingEnvironmentExtensions class static

Microsoft.AspNetCore.Hosting.HostingEnvironmentExtensions · assembly Microsoft.AspNetCore.Hosting

HostingStartupAttribute class sealed · extends Attribute

Microsoft.AspNetCore.Hosting.HostingStartupAttribute · assembly Microsoft.AspNetCore.Hosting.Abstractions

Constructors

new HostingStartupAttribute(Type hostingStartupType)

Ring: new HostingStartupAttribute(args) uses one constructor; the others are chosen by the parameter names: new HostingStartupAttribute().@New([ :param = value ]) or dnNew("HostingStartupAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
HostingStartupTypeTypereado.HostingStartupType

Members of the base class are inherited.

IHostingStartup interface

Microsoft.AspNetCore.Hosting.IHostingStartup · assembly Microsoft.AspNetCore.Hosting.Abstractions

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1)void Configure(IWebHostBuilder builder)
IStartup interface

Microsoft.AspNetCore.Hosting.IStartup · assembly Microsoft.AspNetCore.Hosting.Abstractions

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1)void Configure(IApplicationBuilder app)
ConfigureServicescallMethod("ConfigureServices",[p1])IServiceProvider ConfigureServices(IServiceCollection services)
IStartupFilter interface

Microsoft.AspNetCore.Hosting.IStartupFilter · assembly Microsoft.AspNetCore.Hosting.Abstractions

Methods

MethodRing call.NET overloads
ConfigurecallMethod("Configure",[p1])Action<IApplicationBuilder> Configure(Action<IApplicationBuilder> next)
IWebHost interface

Microsoft.AspNetCore.Hosting.IWebHost · assembly Microsoft.AspNetCore.Hosting.Abstractions

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
ServerFeaturesIFeatureCollectionreado.ServerFeatures
ServicesIServiceProviderreado.Services

Methods

MethodRing call.NET overloads
StartcallMethod("Start",[])void Start()
StartAsyncStartAsync(value)
StartAsync([ :cancellationToken = … ])
Task StartAsync(CancellationToken cancellationToken = …)
StopAsyncStopAsync(value)
StopAsync([ :cancellationToken = … ])
Task StopAsync(CancellationToken cancellationToken = …)
IWebHostBuilder interface

Microsoft.AspNetCore.Hosting.IWebHostBuilder · assembly Microsoft.AspNetCore.Hosting.Abstractions

Methods

MethodRing call.NET overloads
BuildcallMethod("Build",[])IWebHost Build()
ConfigureAppConfigurationcallMethod("ConfigureAppConfiguration",[p1])IWebHostBuilder ConfigureAppConfiguration(Action<WebHostBuilderContext, IConfigurationBuilder> configureDelegate)
ConfigureServicescallMethod("ConfigureServices",[p1])IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
IWebHostBuilder ConfigureServices(Action<WebHostBuilderContext, IServiceCollection> configureServices)
GetSettingcallMethod("GetSetting",[p1])string GetSetting(string key)
UseSettingcallMethod("UseSetting",[p1,p2])IWebHostBuilder UseSetting(string key, string value)
IWebHostEnvironment interface

Microsoft.AspNetCore.Hosting.IWebHostEnvironment · assembly Microsoft.AspNetCore.Hosting.Abstractions

Properties and fields

NameTypeAccessIn Ring
WebRootPathstringread, writeo.WebRootPath o.WebRootPath = v
WebRootFileProviderIFileProviderread, writeo.WebRootFileProvider o.WebRootFileProvider = v
KestrelServerOptionsSystemdExtensions class static

Microsoft.AspNetCore.Hosting.KestrelServerOptionsSystemdExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Core

Methods

MethodRing call.NET overloads
UseSystemdUseSystemd(value)
UseSystemd([ :options = … ])
UseSystemd([ :options = …, :configure = … ])
static KestrelServerOptions UseSystemd(KestrelServerOptions options)
static KestrelServerOptions UseSystemd(KestrelServerOptions options, Action<ListenOptions> configure)
ListenOptionsConnectionLoggingExtensions class static

Microsoft.AspNetCore.Hosting.ListenOptionsConnectionLoggingExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Core

Methods

MethodRing call.NET overloads
UseConnectionLoggingUseConnectionLogging(value)
UseConnectionLogging([ :listenOptions = … ])
UseConnectionLogging([ :listenOptions = …, :loggerName = … ])
static ListenOptions UseConnectionLogging(ListenOptions listenOptions)
static ListenOptions UseConnectionLogging(ListenOptions listenOptions, string loggerName)
ListenOptionsHttpsExtensions class static

Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Core

Methods

MethodRing call.NET overloads
UseHttpsUseHttps(value)
UseHttps([ :listenOptions = … ])
UseHttps([ :listenOptions = …, :fileName = … ])
UseHttps([ :listenOptions = …, :serverCertificate = … ])
UseHttps([ :listenOptions = …, :configureOptions = … ])
static ListenOptions UseHttps(ListenOptions listenOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, string fileName)
static ListenOptions UseHttps(ListenOptions listenOptions, string fileName, string password)
static ListenOptions UseHttps(ListenOptions listenOptions, string fileName, string password, Action<HttpsConnectionAdapterOptions> configureOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, StoreName storeName, string subject)
static ListenOptions UseHttps(ListenOptions listenOptions, StoreName storeName, string subject, bool allowInvalid)
static ListenOptions UseHttps(ListenOptions listenOptions, StoreName storeName, string subject, bool allowInvalid, StoreLocation location)
static ListenOptions UseHttps(ListenOptions listenOptions, StoreName storeName, string subject, bool allowInvalid, StoreLocation location, Action<HttpsConnectionAdapterOptions> configureOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, X509Certificate2 serverCertificate)
static ListenOptions UseHttps(ListenOptions listenOptions, X509Certificate2 serverCertificate, Action<HttpsConnectionAdapterOptions> configureOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, Action<HttpsConnectionAdapterOptions> configureOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, HttpsConnectionAdapterOptions httpsOptions)
static ListenOptions UseHttps(ListenOptions listenOptions, ServerOptionsSelectionCallback serverOptionsSelectionCallback, object state)
static ListenOptions UseHttps(ListenOptions listenOptions, ServerOptionsSelectionCallback serverOptionsSelectionCallback, object state, TimeSpan handshakeTimeout)
static ListenOptions UseHttps(ListenOptions listenOptions, TlsHandshakeCallbackOptions callbackOptions)
StartupBase class abstract

Microsoft.AspNetCore.Hosting.StartupBase · assembly Microsoft.AspNetCore.Hosting

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1)void Configure(IApplicationBuilder app)
ConfigureServicesConfigureServices(p1)void ConfigureServices(IServiceCollection services)
CreateServiceProvidercallMethod("CreateServiceProvider",[p1])IServiceProvider CreateServiceProvider(IServiceCollection services)
StartupBase1 class abstract · extends StartupBase

Microsoft.AspNetCore.Hosting.StartupBase`1 · assembly Microsoft.AspNetCore.Hosting

Members of the base class are inherited.

WebHostBuilder class

Microsoft.AspNetCore.Hosting.WebHostBuilder · assembly Microsoft.AspNetCore.Hosting

Constructors

new WebHostBuilder()

Ring: new WebHostBuilder(args) uses one constructor; the others are chosen by the parameter names: new WebHostBuilder().@New([ :param = value ]) or dnNew("WebHostBuilder",[ :param = value ]).

Methods

MethodRing call.NET overloads
BuildcallMethod("Build",[])IWebHost Build()
ConfigureAppConfigurationcallMethod("ConfigureAppConfiguration",[p1])IWebHostBuilder ConfigureAppConfiguration(Action<WebHostBuilderContext, IConfigurationBuilder> configureDelegate)
ConfigureServicescallMethod("ConfigureServices",[p1])IWebHostBuilder ConfigureServices(Action<IServiceCollection> configureServices)
IWebHostBuilder ConfigureServices(Action<WebHostBuilderContext, IServiceCollection> configureServices)
GetSettingcallMethod("GetSetting",[p1])string GetSetting(string key)
UseSettingcallMethod("UseSetting",[p1,p2])IWebHostBuilder UseSetting(string key, string value)
WebHostBuilderContext class

Microsoft.AspNetCore.Hosting.WebHostBuilderContext · assembly Microsoft.AspNetCore.Hosting.Abstractions

Constructors

new WebHostBuilderContext()

Ring: new WebHostBuilderContext(args) uses one constructor; the others are chosen by the parameter names: new WebHostBuilderContext().@New([ :param = value ]) or dnNew("WebHostBuilderContext",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
HostingEnvironmentIWebHostEnvironmentread, writeo.HostingEnvironment o.HostingEnvironment = v
ConfigurationIConfigurationread, writeo.Configuration o.Configuration = v
WebHostBuilderExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions · assembly Microsoft.AspNetCore.Hosting

Methods

MethodRing call.NET overloads
ConfigureConfigure(p1,p2)static IWebHostBuilder Configure(IWebHostBuilder hostBuilder, Action<IApplicationBuilder> configureApp)
static IWebHostBuilder Configure(IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, IApplicationBuilder> configureApp)
ConfigureAppConfigurationConfigureAppConfiguration(p1,p2)static IWebHostBuilder ConfigureAppConfiguration(IWebHostBuilder hostBuilder, Action<IConfigurationBuilder> configureDelegate)
ConfigureLoggingConfigureLogging(p1,p2)static IWebHostBuilder ConfigureLogging(IWebHostBuilder hostBuilder, Action<ILoggingBuilder> configureLogging)
static IWebHostBuilder ConfigureLogging(IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, ILoggingBuilder> configureLogging)
UseDefaultServiceProviderUseDefaultServiceProvider(p1,p2)static IWebHostBuilder UseDefaultServiceProvider(IWebHostBuilder hostBuilder, Action<ServiceProviderOptions> configure)
static IWebHostBuilder UseDefaultServiceProvider(IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, ServiceProviderOptions> configure)
UseStartupUseStartup(value)
UseStartup([ :hostBuilder = … ])
UseStartup([ :hostBuilder = …, :startupFactory = … ])
UseStartup([ :hostBuilder = …, :startupType = … ])
static IWebHostBuilder UseStartup<TStartup>(IWebHostBuilder hostBuilder, Func<WebHostBuilderContext, TStartup> startupFactory)
static IWebHostBuilder UseStartup(IWebHostBuilder hostBuilder, Type startupType)
static IWebHostBuilder UseStartup<TStartup>(IWebHostBuilder hostBuilder)
UseStaticWebAssetsUseStaticWebAssets(p1)static IWebHostBuilder UseStaticWebAssets(IWebHostBuilder builder)
WebHostBuilderHttpSysExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderHttpSysExtensions · assembly Microsoft.AspNetCore.Server.HttpSys

Methods

MethodRing call.NET overloads
UseHttpSysUseHttpSys(value)
UseHttpSys([ :hostBuilder = … ])
UseHttpSys([ :hostBuilder = …, :options = … ])
static IWebHostBuilder UseHttpSys(IWebHostBuilder hostBuilder)
static IWebHostBuilder UseHttpSys(IWebHostBuilder hostBuilder, Action<HttpSysOptions> options)
WebHostBuilderIISExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions · assembly Microsoft.AspNetCore.Server.IIS

Methods

MethodRing call.NET overloads
UseIISUseIIS(p1)static IWebHostBuilder UseIIS(IWebHostBuilder hostBuilder)
WebHostBuilderKestrelExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions · assembly Microsoft.AspNetCore.Server.Kestrel

Methods

MethodRing call.NET overloads
ConfigureKestrelConfigureKestrel(p1,p2)static IWebHostBuilder ConfigureKestrel(IWebHostBuilder hostBuilder, Action<KestrelServerOptions> options)
static IWebHostBuilder ConfigureKestrel(IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, KestrelServerOptions> configureOptions)
UseKestrelUseKestrel(value)
UseKestrel([ :hostBuilder = … ])
UseKestrel([ :hostBuilder = …, :options = … ])
UseKestrel([ :hostBuilder = …, :configureOptions = … ])
static IWebHostBuilder UseKestrel(IWebHostBuilder hostBuilder)
static IWebHostBuilder UseKestrel(IWebHostBuilder hostBuilder, Action<KestrelServerOptions> options)
static IWebHostBuilder UseKestrel(IWebHostBuilder hostBuilder, Action<WebHostBuilderContext, KestrelServerOptions> configureOptions)
UseKestrelCoreUseKestrelCore(p1)static IWebHostBuilder UseKestrelCore(IWebHostBuilder hostBuilder)
UseKestrelHttpsConfigurationUseKestrelHttpsConfiguration(p1)static IWebHostBuilder UseKestrelHttpsConfiguration(IWebHostBuilder hostBuilder)
WebHostBuilderNamedPipeExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderNamedPipeExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes

Methods

MethodRing call.NET overloads
UseNamedPipesUseNamedPipes(value)
UseNamedPipes([ :hostBuilder = … ])
UseNamedPipes([ :hostBuilder = …, :configureOptions = … ])
static IWebHostBuilder UseNamedPipes(IWebHostBuilder hostBuilder)
static IWebHostBuilder UseNamedPipes(IWebHostBuilder hostBuilder, Action<NamedPipeTransportOptions> configureOptions)
WebHostBuilderQuicExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderQuicExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Transport.Quic

Methods

MethodRing call.NET overloads
UseQuicUseQuic(value)
UseQuic([ :hostBuilder = … ])
UseQuic([ :hostBuilder = …, :configureOptions = … ])
static IWebHostBuilder UseQuic(IWebHostBuilder hostBuilder)
static IWebHostBuilder UseQuic(IWebHostBuilder hostBuilder, Action<QuicTransportOptions> configureOptions)
WebHostBuilderSocketExtensions class static

Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions · assembly Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets

Methods

MethodRing call.NET overloads
UseSocketsUseSockets(value)
UseSockets([ :hostBuilder = … ])
UseSockets([ :hostBuilder = …, :configureOptions = … ])
static IWebHostBuilder UseSockets(IWebHostBuilder hostBuilder)
static IWebHostBuilder UseSockets(IWebHostBuilder hostBuilder, Action<SocketTransportOptions> configureOptions)
WebHostDefaults class static

Microsoft.AspNetCore.Hosting.WebHostDefaults · assembly Microsoft.AspNetCore.Hosting.Abstractions

Properties and fields

NameTypeAccessIn Ring
ApplicationKeystringread · statico.ApplicationKey
StartupAssemblyKeystringread · statico.StartupAssemblyKey
HostingStartupAssembliesKeystringread · statico.HostingStartupAssembliesKey
HostingStartupExcludeAssembliesKeystringread · statico.HostingStartupExcludeAssembliesKey
DetailedErrorsKeystringread · statico.DetailedErrorsKey
EnvironmentKeystringread · statico.EnvironmentKey
WebRootKeystringread · statico.WebRootKey
CaptureStartupErrorsKeystringread · statico.CaptureStartupErrorsKey
ServerUrlsKeystringread · statico.ServerUrlsKey
HttpPortsKeystringread · statico.HttpPortsKey
HttpsPortsKeystringread · statico.HttpsPortsKey
ContentRootKeystringread · statico.ContentRootKey
PreferHostingUrlsKeystringread · statico.PreferHostingUrlsKey
PreventHostingStartupKeystringread · statico.PreventHostingStartupKey
SuppressStatusMessagesKeystringread · statico.SuppressStatusMessagesKey
ShutdownTimeoutKeystringread · statico.ShutdownTimeoutKey
StaticWebAssetsKeystringread · statico.StaticWebAssetsKey
WebHostExtensions class static

Microsoft.AspNetCore.Hosting.WebHostExtensions · assembly Microsoft.AspNetCore.Hosting

Methods

MethodRing call.NET overloads
RunRun(p1)static void Run(IWebHost host)
RunAsyncRunAsync([ :host = …, :token = … ])static Task RunAsync(IWebHost host, CancellationToken token = …)
StopAsyncStopAsync(p1,p2)static Task StopAsync(IWebHost host, TimeSpan timeout)
WaitForShutdownWaitForShutdown(p1)static void WaitForShutdown(IWebHost host)
WaitForShutdownAsyncWaitForShutdownAsync([ :host = …, :token = … ])static Task WaitForShutdownAsync(IWebHost host, CancellationToken token = …)