(); $app = $appFactory->registerService('',''); $appFactory.errorProvider(class:: or port) // connexion string // var connectionString = builder.Configuration.GetConnectionString("LolDatabase"); // builder.Services.AddDbContext(options => // options.UseSqlite(connectionString), ServiceLifetime.Singleton); $app->use(new LoggingMiddleware()); $app = $appFactory->create(); $app.addHttpClient(HttpClient::class) // je veux pas faire sa pour load les controller avec les anotation $app->RegisterControllers(); $app-> $app->run(); }