C# Class WebApp.ASPNETCore1.Startup

显示文件 Open project: JonPSmith/MvcUsingBower

Public Properties

Property Type Description
ApplicationBasePath string

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
ConfigureServices ( IServiceCollection services ) : void
Main ( string args ) : void
Startup ( IHostingEnvironment env, IApplicationEnvironment appEnvironment ) : System

Method Details

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerFactory ILoggerFactory
return void

ConfigureServices() public method

public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

Startup() public method

public Startup ( IHostingEnvironment env, IApplicationEnvironment appEnvironment ) : System
env IHostingEnvironment
appEnvironment IApplicationEnvironment
return System

Property Details

ApplicationBasePath public_oe static_oe property

This contains the absolute directory of the ASP.NET web application
public static string ApplicationBasePath
return string