Метод | Описание | |
---|---|---|
Configure ( IApplicationBuilder application, IHostingEnvironment environment, ILoggerFactory loggerFactory ) : void |
This method gets called by the runtime. Use this method to configure the HTTP request pipeline. All arguments are provided through dependency injection
|
|
ConfigureServices ( IServiceCollection services ) : void |
This method gets called by the runtime. Use this method to add services to the container. All arguments are provided through dependency injection
|
|
Main ( string args ) : void |
Application's entry point
|
|
Startup ( IHostingEnvironment environment ) : Microsoft.AspNet.Builder |
Initializes a new instance of the Startup class. This class gets instantiatied by the Main method. The hosting environment gets provided via DI
|
public Configure ( IApplicationBuilder application, IHostingEnvironment environment, ILoggerFactory loggerFactory ) : void | ||
application | IApplicationBuilder | The application. |
environment | IHostingEnvironment | The environment. |
loggerFactory | ILoggerFactory | The logger factory. |
Результат | void |
public ConfigureServices ( IServiceCollection services ) : void | ||
services | IServiceCollection | The services. |
Результат | void |
public static Main ( string args ) : void | ||
args | string | |
Результат | void |
public Startup ( IHostingEnvironment environment ) : Microsoft.AspNet.Builder | ||
environment | IHostingEnvironment | The environment. |
Результат | Microsoft.AspNet.Builder |