摘要: 设计方向:1.摒弃SiteMap,避免在容易书写错误的sitemap中书写,导航在controller和action上打标签生成。2.controller统一继承basecontroller,在basecontroller上统一权限拦截。3.使用缓存保存权限列表,避免反复读取数据库。4.使用Elinq作为ORM工具5.使用页面部分试图权限一.获取权限视图缓存列表 //////获取权限视图缓存列表//////publicstaticListGetAuthCache(){ListviewRoleGroup;stringkey="ViewAuthList";if(HttpRunt 阅读全文
posted @ 2013-09-14 16:33 hot's 阅读(1089) 评论(4) 推荐(0) 编辑