public void ConfigureServices(IServiceCollection services) { var coreAssemblies = new Assembly[] { typeof(Smartstore.Engine.IEngine).Assembly, typeof(Smartstore.Core.CoreStarter).Assembly, typeof(Smartstore.Web.Startup).Assembly, typeof(Smartstore.Web.Theming.IThemeRegistry).Assembly }; _appContext = new SmartApplicationContext( Environment, Configuration, StartupLogger, coreAssemblies); _engineStarter = EngineFactory.Create(_appContext.AppConfiguration).Start(_appContext); _engineStarter.ConfigureServices(services); }