ActionLinkForAreas リンク拡張はパラメーター + カスタム ルートで機能しますか?
次のアクションに一致するルートが存在します。
routes.MapRoute("Profile", "profile/{artist}/{action}", new {controller="Profile", action="Index"});
しかし、次のように ActionLinkForAreas を呼び出すと:
<%= Html.ActionLinkForAreas<ProfileController>(x => x.Index("DJ"), "DJ") %>
/profile/?artist=DJ を返しますが、ルートがセットアップされているときに /profile/DJ を返したいところです。
ActionLink を呼び出すと、正しい URL が返されます。Northwind サンプル プロジェクトでこれをテストしたところ、同じ結果が得られました。
何か不足していますか?