I can't find a way to use RedirectToAction using a fragment. I tried: ``` RedirectToAction(nameof(Index), new { fragment= "contact-message" }); ``` with no success, looking at source code I couldn't identity if this _feature_ exists or not. This works, but is kind of verbose: ``` var localUrl = Url.Action(nameof(Index), controller: null, values: null, protocol: null, host: null, fragment: "contact-message"); return new LocalRedirectResult(localUrl); ```
I can't find a way to use RedirectToAction using a fragment.
I tried:
with no success, looking at source code I couldn't identity if this feature exists or not.
This works, but is kind of verbose: