mvc
lxtql
这个作者很懒,什么都没留下…
展开
-
MVC——ActionFilterAttribute
MVC的Action执行前后,有四个事件,可以override,已达到一些特殊的处理需求自定义特性using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Web; using System.Web.Mvc;namespace Gzh.MvcWeb原创 2016-10-13 16:13:51 · 408 阅读 · 0 评论 -
MVC——无刷新上传图片
jquery.form.js 无刷新上传 控制器using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc;namespace Gzh.MvcWeb.Control原创 2016-09-29 11:00:12 · 428 阅读 · 0 评论 -
Cache的封装和使用,用Cache代替Session
ICache 接口using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;namespace Hzb.Utils.Caching { /// <summary> /// Cache manager interfa原创 2016-11-09 09:06:29 · 2572 阅读 · 1 评论 -
前端模板引擎,数据内存分组
html<div id="resList"></div>template<script id="Template" type="text/x-jquery-tmpl"> <div> {{each Data}} <div style="clear:both"> <div>${$value.groupNama}</div>原创 2017-02-23 12:52:47 · 448 阅读 · 0 评论 -
前端模板引擎,绑定数据
html <div id="resList"></div>Template<script id="Template" type="text/x-jquery-tmpl"> <div> {{each Data}} <div class="col-md-4 pro_bor" > <div style="border:1px solid #f原创 2017-02-23 13:36:54 · 2101 阅读 · 0 评论