using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddApplication(options => { options.UseAutofac(); }); //return services.BuildServiceProviderFromFactory(); } public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { app.InitializeApplication(); } } }