点关注不迷路

Max

摘要: @{ Layout = “…”} To define layout page Equivalent to asp.NET master-page 要定义相当于ASP.Net母版页的页面布局 @model <StrongModelType> To define strongly-typed model 阅读全文
posted @ 2017-05-09 13:20 Max麦克斯 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 允许压缩 3 /// 4 public class AllowCompressAttribute : System.Web.Mvc.ActionFilterAttribute 5 { 6 /// 7 /// 压缩方法 8 /// 9 publi... 阅读全文
posted @ 2017-05-09 11:42 Max麦克斯 阅读(593) 评论(0) 推荐(0) 编辑