C# Class Unosquare.PassCore.Web.Startup

Represents this application's main class
Datei anzeigen Open project: unosquare/passcore

Public Methods

Method Description
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

Method Details

Configure() public method

This method gets called by the runtime. Use this method to configure the HTTP request pipeline. All arguments are provided through dependency injection
public Configure ( IApplicationBuilder application, IHostingEnvironment environment, ILoggerFactory loggerFactory ) : void
application IApplicationBuilder The application.
environment IHostingEnvironment The environment.
loggerFactory ILoggerFactory The logger factory.
return void

ConfigureServices() public method

This method gets called by the runtime. Use this method to add services to the container. All arguments are provided through dependency injection
public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection The services.
return void

Main() public static method

Application's entry point
public static Main ( string args ) : void
args string
return void

Startup() public method

Initializes a new instance of the Startup class. This class gets instantiatied by the Main method. The hosting environment gets provided via DI
public Startup ( IHostingEnvironment environment ) : Microsoft.AspNet.Builder
environment IHostingEnvironment The environment.
return Microsoft.AspNet.Builder