public static void RegisterStartupServices( this IApplicationBuilder app, IWebHostEnvironment env, IConfiguration configuration, string microserviceName) { CommonStartupExtensions.RegisterCommonExtensions(app, env, configuration, microserviceName); }
public static void RegisterStartupServices( this IServiceCollection services, IConfiguration configuration, string microserviceName) { CommonStartupExtensions.RegisterCommonExtensions(services, configuration, microserviceName); services.RegisterMappings(configuration); services.RegisterDataStores(configuration); services.RegisterServices(configuration); services.RegisterValidators(configuration); services.RegisterHostedServices(configuration); }