I would like passing a ViewModel parameter into url.
This parameter is an object inherit of
Dictionary<int, string>.
Into RC1, I can customize the url building with an override of "ToString" method :
public override string ToString()
{
return String.Join("#", this.Select(d => d.Key + "|" + d.Value));
}
So the url have a value like this :
myUrl?parameter=1|one#2|two
But since the last update into ASP NET Core 1.0, this not working, and no find other solution into the web.
Have you an idea ?
Thanks.