C# 클래스 Microsoft.Legal.MatterCenter.Web.Startup

파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void

This method gets called by the runtime. Use this method to configure the HTTP request pipeline.

ConfigureServices ( IServiceCollection services ) : void

This method gets called by the runtime. Use this method to add services to the container.

Startup ( IHostingEnvironment env, ILoggerFactory logger ) : Microsoft.AspNetCore.Builder

비공개 메소드들

메소드 설명
CheckAuthorization ( IApplicationBuilder app ) : void

check the current request and check whether the request is having the bearer token. If bearer token is present it will validate the same and if it is not present, the api will throw 401 unauthorized error

ConfigureMatterPackages ( IServiceCollection services ) : void
ConfigureMvc ( IServiceCollection services, ILoggerFactory logger ) : void
ConfigureSettings ( IServiceCollection services ) : void
ConfigureSwagger ( IServiceCollection services ) : void
CreateConfig ( IHostingEnvironment hostingEnvironment ) : void

메소드 상세

Configure() 공개 메소드

This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerFactory ILoggerFactory
리턴 void

ConfigureServices() 공개 메소드

This method gets called by the runtime. Use this method to add services to the container.
public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection
리턴 void

Startup() 공개 메소드

public Startup ( IHostingEnvironment env, ILoggerFactory logger ) : Microsoft.AspNetCore.Builder
env IHostingEnvironment
logger ILoggerFactory
리턴 Microsoft.AspNetCore.Builder