<li>@Html.ActionLink("Home", "Index", "Home", new { area = ""}, null)</li> <li>@Html.ActionLink("Admin", "Index", "Home", new { area = "Admin" }, null)</l…
This article was written for ASP.NET MVC 4 RC (Release Candidate). If you are still using Beta version of ASP.NET MVC 4 then you have to read the previous article. HttpControllerFactory was deleted in ASP.NET MVC 4 RC. Actually, it was replaced by tw…
在实际的ASP.NET mvc项目开发中,有时会遇到一个参数是一个List.Dictionary等集合类型的情况,默认的情况ASP.NET MVC框架是怎么为我们绑定ASP.NET MVC的Action参数的. 有这样的一个Model类Person将作为Action的参数 Model,Person.cs: public class Person { public string FirstName { get; set; } public string LastName { get; set; }…