摘要: @Ajax.ActionLink("获取服务器时间", "GetDate", "Cate", new AjaxOptions(){ HttpMethod = "post", UpdateTargetId = "dateSpan", InsertionMode = InsertionMode.Replace}) @*获取服务器时间*@ asdf 阅读全文
posted @ 2014-04-07 08:11 bl84757922 阅读(302) 评论(0) 推荐(0) 编辑
摘要: [OutputCache(Duration=15)] public ActionResult Index() { var list = db.BlogArticles.Where(a => a.AIsDel == false).ToList(); return View(list); }缓存15S 阅读全文
posted @ 2014-04-07 00:22 bl84757922 阅读(84) 评论(0) 推荐(0) 编辑