C# Class Unosquare.PassCore.Web.Startup

Represents this application's main class
Afficher le fichier Open project: unosquare/passcore

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

ConfigureServices() public méthode

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.
Résultat void

Main() public static méthode

Application's entry point
public static Main ( string args ) : void
args string
Résultat void

Startup() public méthode

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.
Résultat Microsoft.AspNet.Builder