In appsettings.json
{ \"MyArray\": [ \"str1\", \"str2\", \"str3\" ] }
In Startup.cs
public class MyArray : List { } services.Configure(Configuration.GetSection("MyArray")); public SomeController(IOptions myArrayOptions) { myArray = myArrayOptions.Value; }