Dela via


StartupBase Class

Definition

Base class for initializing services and middlewares used by an application.

public ref class StartupBase abstract : Microsoft::AspNetCore::Hosting::IStartup
public abstract class StartupBase : Microsoft.AspNetCore.Hosting.IStartup
type StartupBase = class
    interface IStartup
Public MustInherit Class StartupBase
Implements IStartup
Inheritance
StartupBase
Derived
Implements

Constructors

StartupBase()

Methods

Configure(IApplicationBuilder)

Configures the application.

ConfigureServices(IServiceCollection)

Register services into the IServiceCollection.

CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider instance for a given ConfigureServices(IServiceCollection).

Explicit Interface Implementations

IStartup.ConfigureServices(IServiceCollection)

Applies to