Let\'s say I have some url that looks like this: www.myhost.com/mypage?color=blue
In Asp.Net Core, I\'d expect to get the color query parameter value by doing the fo
Request.Query["color"] returns StringValues because collection of string values can be passed. So, I would suggest you to handle this as action parameter, model binding.
Request.Query["color"]
StringValues
string
public ActionResult SaveColor([FromUri] string[] color);