Giter Site home page Giter Site logo

net-core-app's Introduction

ASP.NET Core MVC + Angular 的后台管理模板项目

已经实现的功能

  • 用户登录/注销;
  • 用户管理;
  • 角色管理;
  • 权限管理;
  • 用户与角色绑定;
  • 角色与权限绑定;
  • 菜单管理;
  • 菜单与角色绑定;
  • 访问日志查看;

技术栈简介

Angular 前端

前端基于 Angular 实现, 使用到的类库主要有:

  • Angular , 已开启 TypeScript 严格模式以及 Angular 的严格模板检查;
  • BootStrap 以及 Bootstrap-icons
  • ng-bootstrap
  • Angular Component/Material

Angular 多项目结构, projects 提供了多个三个项目,分别是:

  • web 针对 PC 浏览器的后台管理界面, 使用 ng-bootstrap 实现;
  • handset 针对手持设备的界面, 比较简单, 仅作为示例, 使用 Angular Component/Material 实现;
  • app-sharedwebhandset 两个项目**享的组件和服务;

后端

后端实现基于 .NET 6 实现, 使用到的类库有:

  • NHibernate .NET 平台的老牌 ORM , 存在多年一直都在更新维护, 非常稳定, 长期维护项目的首选;
  • NHibernate.AspNetCore.Identity 基于 NHibernate 的 Identity 实现, 完全不依赖微软的 EntityFramework ;
  • Dapper 灵活的 SQL 查询, 弥补 NHibernate 提供的 Linq 查询的不足;
  • AutoMapper
  • Swashbuckle.AspNetCore 为 API 提供基于 Swagger UI 界面;

数据库

默认是 PostgreSQL , database 目录下的脚本也是基于 PostgreSQL 的; 如果需要创建其它类型的数据库, 则可以根据现有的 sql 语句进行修改;

为了保证开箱可用, 或许以后会切换为 SQLite 数据库;

部署

  • 编译为 Docker 镜像进行部署;
  • 编译为单个可执行文件部署;

功能截图

01_login

02_admin_home

03_admin_menu

04_admin_users

05_admin_users

06_admin_roles

07_admin_privileges

08_audit_log

下载和使用

请参考 下载和使用

net-core-app's People

Contributors

adams549659584 avatar beginor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

adams549659584

net-core-app's Issues

跨域调用管理

现在是通过配置文件进行管理的, 该起来不方便, 需要改成用后台数据库来管理

审计日志添加忽略列表

审计日志会影响一些性能, 添加一个忽略列表的选项,以忽略一些不必要的路径。 或者想办法提高一些性能也是可以的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.