c# - Asp.net core URLHelper ignores additional parameters -
in asp.net core, i've created routevaluedictionary rvd contains 3 keys (id, key , location). i'm calling url.action("page", "debug", rvd), refers controller action debugcontroller.page(int id, string key) route "debug/{id}/page/{key}" - note "location" not argument method or route.
hence have "location" query string parameter, giving me /debug/1/page/mykey?location=x seems location ignored, i'm not receiving query string parts. how force urlhelper add "unknown" parts query string?
Comments
Post a Comment