using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Volo.Abp; namespace Volo.ClientSimulation.Demo { public class Startup { public IServiceProvider ConfigureServices(IServiceCollection services) { services.AddApplication(options => { options.UseAutofac(); }); return services.BuildServiceProviderFromFactory(); } public void Configure(IApplicationBuilder app) { app.InitializeApplication(); } } }