Skip to content
forked from besley/SlickSafe

User Authentication System Based MVC, BootStrap3, WebAPI 开源权限管理系统

License

Notifications You must be signed in to change notification settings

wsjthhh/SlickSafe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlickSafe

SlickSafe is a web based user authentication system. There are some new features have been implemenmted in the solution.

  1. user and role management module.
  2. role and user permisison assignment feature
  3. user login management and ticket initialized feature.
  4. left side menu and button authorization management.
  5. webapi user ticket authentication feature.

The system is designed for 3-tier distributed system, SOA based system, Repository pattern, POCO entity pattern, asp.net mvc/web api architecture. Some details can be described here:

  1. The 3-tier distributed layer include: data access layer, buisiness logic layer and web presentation layer.
  2. Using micro-ORMapping framework Dapper/DapperExtension for database operation.
  3. Using Generic repository pattern to implement data access feature.
  4. Using Asp.net MVC WebAPI to implement service layer, webapi is a restful style service, we make it to match different client include winform, web and mobile.
  5. The IRepository class can be used to implement EF, NHerbinate framework which the user prefered to them.
  6. MSSQL, MySQL, Oracle and other database supported by Dapper.

The SlickSafe.Web project would give you a full tutorial how to use the SlickSafe library and webapi to create a rich mvc web application. Similarily, there are serveral key features to describe here:

  1. Bootstrap3/Mvc(WebApi)/Dapper.
  2. AG-Grid/zTree/Bootstrap-Dialog.
  3. NavBar in top and left side.
  4. Rich page demos in solution.

SlickSafe Online DEMO:

http://demo.slickflow.com/ssweb/

User/Pwd:admin/123456, jack/123456

EMAIL:

[email protected]

SlickSafe 企业级权限快速开发框架,技术体系描述如下:Bootstrap3/Mvc(WebApi)Dapper,AG-Grid/zTree优秀开源组件,Dapper针对MSSQL, MySQL, Oracle等多数据库的实现,丰富代码示例。

SlickSafe V1.2.0 版本说明

功能说明

  1. 角色用户基本数据维护;
  2. 角色授权/用户授权同时支持;
  3. 用户登录身份信息,权限授权验证;
  4. 用户菜单,页面权限信息检验和受控实现;
  5. WebApi Ticket(票据)信息验证;

技术说明

基于MVC, BootStrap3, WebApi, Dapper的3层分布式架构开发框架,其技术特点是:

  1. 采用Dapper微ORMapping框架,性能接近原生SQL;
  2. 采用Repository模式;
  3. 采用面向Interface接口编程规范;
  4. 采用WebApi实现服务总线;
  5. 前端Bootstrap3框架布局在线演示Demo实现;
  6. 多数据库的支持,默认SQLSERVER,支持Oracle, MySQL, KingBase(人大金仓) 等数据库;

数据库设置说明

  1. 添加多数据库支持特性,默认支持SQLSERVER,也可以通过Dapper实现对ORACLE, MYSQL, KINGBASE等数据库的标准SQL支持,程序代码修改及配置请参阅文件: SessionFactory.cs

  2. 权限系统支持Console, Winform 和 Web 各种类型的项目引用,数据库连接设置方法说明如下:

  1. 在config 文件的appSettings中,添加如下设置:
    <appSettings>
      <add key="WebAppDBConnectionString" value="SlickSafeDBConnectionString"/>
    </appSettings>
其中WebAppDBConnectionString 是用于SlickOne.Data的数据访问组件的属性读取,对应的value数值是实际的数据库连接串.
  1. 在config文件的connectionStrings 节中,添加数据库连接串属性.

  # SQL SERVER数据库:

    <connectionStrings>
        <add name="SlickSafeDBConnectionString" connectionString="Data Source=127.0.0.1;Initial Catalog=SODB;Integrated Security=False;User ID=sa;Password=1234;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False" />
    </connectionStrings>

  # ORACLE 数据库:

    <connectionStrings>
      <add name="SlickSafeDBConnectionString" 
         connectionString="user id=dbadminOracle;password=1234;data source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))"/>
    </connectionStrings>

协议授权(License)

支持LGPL开源协议(Open Source License)和商业授权许可协议(Commercial License)。

SlickSafe 快速入门指南:

http://www.cnblogs.com/slickflow/p/6478887.html

QQ交流群:331928998

Contact: [email protected]

QQ: 47743901(过河卒子)

About

User Authentication System Based MVC, BootStrap3, WebAPI 开源权限管理系统

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.0%
  • C# 22.1%
  • PowerShell 4.2%
  • Pascal 3.5%
  • CSS 3.1%
  • HTML 0.1%