I would like to use the services.Configure(); from the Microsoft.Extensions.DependencyInjection namespace, with an object like this one be
services.Configure();
Microsoft.Extensions.DependencyInjection