dave0292

Results 1 comments of dave0292

I'm having the same problem. I did it this way with no success: ```csharp _config = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .SetBasePath(Directory.GetCurrentDirectory()) .Build(); MongoDbConfig mongoDbSettings = _config.GetSection(nameof(MongoDbConfig)).Get(); client = new MongoClient(mongoDbSettings.ConnectionString); var...