C# Class Tailspin.Surveys.WebAPI.Startup

This class contains the starup logic for this WebAPI project.
显示文件 Open project: mspnp/multitenant-saas-guidance

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ApplicationDbContext dbContext, ILoggerFactory loggerFactory ) : void
ConfigureServices ( IServiceCollection services ) : void
Startup ( IHostingEnvironment env, ILoggerFactory loggerFactory ) : Microsoft.AspNetCore.Authentication.JwtBearer

Private Methods

Method Description
InitializeLogging ( ILoggerFactory loggerFactory ) : void

Method Details

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env, ApplicationDbContext dbContext, ILoggerFactory loggerFactory ) : void
app IApplicationBuilder
env IHostingEnvironment
dbContext Tailspin.Surveys.Data.DataModels.ApplicationDbContext
loggerFactory ILoggerFactory
return void

ConfigureServices() public method

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

Startup() public method

public Startup ( IHostingEnvironment env, ILoggerFactory loggerFactory ) : Microsoft.AspNetCore.Authentication.JwtBearer
env IHostingEnvironment
loggerFactory ILoggerFactory
return Microsoft.AspNetCore.Authentication.JwtBearer