I want to do this, but I want to also be able to pass in arrays into the query string. I\'ve tried things like:
http://www.sitename.com/route?arr[]=this&
I had the same problem with .NET Core 3, while trying to pass in a string Array. I solved it by passing in the query parameter as a temporary json string. I then deserialized the string to the resulting array using Newtonsoft's Json package
using Newtonsoft.Json;
public IActionResult Get([FromQuery(Name = "array")] string arrayJson)
{
List array = JsonConvert.DeserializeObject>(arrayJson);
}