I\'m looking for the simplest way of converting a query string from an HTTP GET request into a Dictionary, and back again.
I figure it\'s easier to carry out various
You can just get it by decorating the parameter with the FromQueryAttribute
FromQueryAttribute
public void Action([FromQuery] Dictionary queries) { ... }
P.S. If you want to get multiple values for each key you can change the Dictionary to Dictionary>
Dictionary>