What is wrong with my area routing in my bin deployed MVC4 app?

后端 未结 5 1883
我在风中等你
我在风中等你 2021-01-13 04:36

I have just deployed an MVC4 .NET 4.0 app to my web host, for \'live\' deployed testing. Non -area routes are working fine, e.g. my

@Html.ActionLink(\"Regis         


        
5条回答
  •  天涯浪人
    2021-01-13 05:16

    With the @Html.ActionLink

    use this format

    @Html.ActionLink("Authors", "Index", "Home", new { Area = "Author", registrationType = "Author" }, new{})
    

    Solved my issue.

提交回复
热议问题