摘要: 最近开始尝试使用mvc4做项目。 其中涉及到登陆验证,按照mvc3的方式继承AuthorizeAttribute,自己再做些手脚。 继承后发现和mvc3完全不一样。搞的都不知道该怎么写了 仔细观察后发现,mvc4中有两个AuthorizeAttribute。 // Type: System.Web.Http.AuthorizeAttribute// Assembly: Syst... 阅读全文
posted @ 2012-10-18 09:15 czcz1024 阅读(550) 评论(0) 推荐(0) 编辑