MVC4 笔记
路由
http://msdn.microsoft.com/zh-cn/library/cc668201.aspx
http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Mvc/Controller.cs
5. http://www.asp.net/mvc/mvc4
6. http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4
1. Microsoft.Web.Helpers.UrlBuilder
2. Microsoft.Web.Mvc.AreaHelpers
public static string GetAreaName(RouteBase route); public static string GetAreaName(RouteData routeData);
3. Microsoft.Web.Mvc.ControllerExtensions
// Shortcut to allow users to write this.RedirectToAction(x => x.OtherMethod()) to redirect // to a different method on the same controller. public static RedirectToRouteResult RedirectToAction<TController>(this Controller controller, Expression<Action<TController>> action) where TController : Controller
4. Microsoft.Web.Mvc.ModelCopier
public static void CopyCollection<T>(IEnumerable<T> from, ICollection<T> to); public static void CopyModel(object from, object to);