摘要:
@Ajax.ActionLink("获取服务器时间", "GetDate", "Cate", new AjaxOptions(){ HttpMethod = "post", UpdateTargetId = "dateSpan", InsertionMode = InsertionMode.Replace}) @*获取服务器时间*@ asdf 阅读全文
摘要:
[OutputCache(Duration=15)] public ActionResult Index() { var list = db.BlogArticles.Where(a => a.AIsDel == false).ToList(); return View(list); }缓存15S 阅读全文