In appsettings.json
{ \"MyArray\": [ \"str1\", \"str2\", \"str3\" ] }
In Startup.cs
You can get the array direct without increment a new level in the configuration:
public void ConfigureServices(IServiceCollection services) { services.Configure>(Configuration.GetSection("MyArray")); //... }