How to properly read nested configuration values from config.json in ASP.NET5?

That’s the convention that we decided upon when we first created the configuration model. We started with json in mind and : is the delimiter there. Anyways, if you don’t want to worry about those conventions, I recommend using the ConfigurationBinder which binds a configuration to a model (a strong type object). Here are the … Read more

Why does Visual Studio tell me that the AddJsonFile() method is not defined?

You need to include the Microsoft.Extensions.Configuration.Json NuGet package if you want to call the .AddJsonFile() method. See: https://github.com/aspnet/Configuration/tree/dev/src/Microsoft.Framework.ConfigurationModel.Json For further reading, here’s a nice tutorial: ASP.NET vNext Moving Parts: IConfiguration.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)