示例#1
0
文件: Startup.cs 项目: legimenes/loja
 public void ConfigureServices(IServiceCollection services)
 {
     VersioningConfiguration.AddConfiguration(services, 1, 0);
     DependencyInjectionConfiguration.RegisterServices(services);
     ApiConfiguration.AddConfiguration(services);
     SwaggerConfiguration.AddConfiguration(services);
 }
示例#2
0
文件: Startup.cs 项目: legimenes/loja
 public void ConfigureServices(IServiceCollection services)
 {
     VersioningConfiguration.AddConfiguration(services, 1, 0);
     SwaggerConfiguration.AddConfiguration(services);
     IdentityConfiguration.AddConfiguration(services, Configuration.GetConnectionString("IdentityConnection"));
     ApiConfiguration.AddConfiguration(services);
     DependencyInjectionConfiguration.RegisterServices(services);
 }