aspnetcore
aspnetcore copied to clipboard
Tuples are not supported by Url.RouteUrl()
Not sure if this is expected or not, but the Url.RouteUrl call in ASP.NET Core Razor view doesn't support Tuples.
VS Code: v1.92.2
O# extension: v2.39.29
@using Filter = (int? A, int? B, int? C);
<p>@(Url.RouteUrl(new Filter { A = 1, B = 2, C = null }))</p>
It renders the current URL without any parameters specified.