摘要:
把网站重要的操作步骤记录下来,在ASP.NET MVC中,可以通过动作过滤器来实现。首先在项目目录中新建一个"ActionFilter"目录,以集中管理所有的ActionFilter属性类,再新建一个ActionLogAttribute动作过滤器属性。其中我的数据库表ActionLog结构如下图:ActionLogAttribute类的代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using Chellona 阅读全文
posted @ 2012-05-03 22:35
B追风少年
阅读(480)
评论(0)
推荐(0)

浙公网安备 33010602011771号