Exemple #1
0
 /// <summary>
 /// Configures the specified application.
 /// </summary>
 /// <param name="app">The application.</param>
 /// <param name="env">The env.</param>
 /// <param name="loggerFactory">The logger factory.</param>
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
 {
     ConfigureBase.Configure(app, env);
     ConfigureSwagger.Configure(app, Configuration);
     ConfigureAuthentication.Configure(app);
     ConfigureRoutes.Configure(app);
     ConfigureSpa.Configure(app, env);
 }
 /// <summary>
 /// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
 /// </summary>
 /// <param name="app"></param>
 /// <param name="env"></param>
 /// <param name="mapper"></param>
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env, AutoMapper.IConfigurationProvider mapper)
 {
     ConfigureCommon.Configure(app, env, mapper);
     ConfigureAuthentication.Configure(app);
     ConfigureEndpoints.Configure(app);
 }