摘要:
@Ajax.ActionLink("获取服务器时间", "GetDate", "Cate", new AjaxOptions(){ HttpMethod = "post", UpdateTargetId = "dateSpan", InsertionMode = InsertionMode.Replace}) @*获取服务器时间*@ asdf 阅读全文
posted @ 2014-04-07 08:11
bl84757922
阅读(305)
评论(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
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号