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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -