IStartup Interface

Definition

Provides an interface for initializing services and middleware used by an application.

C#
public interface IStartup
Derived

Methods

Configure(IApplicationBuilder)

Configures the application.

ConfigureServices(IServiceCollection)

Register services into the IServiceCollection.

Applies to

Produk Versi
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0