{"id":18023283,"url":"https://github.com/beginor/net-core-app","last_synced_at":"2025-08-22T07:14:13.248Z","repository":{"id":144769344,"uuid":"176689343","full_name":"beginor/net-core-app","owner":"beginor","description":"App seed with ASP.NET Core and Angular","archived":false,"fork":false,"pushed_at":"2025-01-06T14:20:39.000Z","size":5727,"stargazers_count":19,"open_issues_count":8,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-22T17:22:57.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beginor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T08:34:16.000Z","updated_at":"2025-01-08T07:04:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"db3731ab-18b0-4657-97f4-fc7c10eabad3","html_url":"https://github.com/beginor/net-core-app","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fnet-core-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fnet-core-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fnet-core-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fnet-core-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beginor","download_url":"https://codeload.github.com/beginor/net-core-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245753895,"owners_count":20666832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T07:08:59.337Z","updated_at":"2025-03-26T23:31:04.794Z","avatar_url":"https://github.com/beginor.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET Core MVC + Angular 的后台管理模板项目\n\n## 已经实现的功能\n\n- 用户登录/注销；\n- 用户管理；\n- 角色管理；\n- 权限管理；\n- 用户与角色绑定；\n- 角色与权限绑定；\n- 菜单管理；\n- 菜单与角色绑定；\n- 访问日志查看；\n\n## 技术栈简介\n\n### Angular 前端\n\n前端基于 Angular 实现， 使用到的类库主要有：\n\n- `Angular` ， 已开启 TypeScript 严格模式以及 Angular 的严格模板检查；\n- `BootStrap` 以及 `Bootstrap-icons` ；\n- `ng-zorro-antd`；\n- `Angular Component/Material`；\n\nAngular 多项目结构， `projects` 提供了多个三个项目，分别是：\n\n- `web` 针对 PC 浏览器的后台管理界面， 使用 `ng-zorro-antd` 实现；\n- `handset` 针对手持设备的界面， 比较简单， 仅作为示例， 使用 `Angular Component/Material` 实现；\n- `app-shared` 在 `web` 和 `handset` 两个项目中共享的组件和服务；\n\n### 后端\n\n后端实现基于 .NET 9 实现， 使用到的类库有：\n\n- `NHibernate` .NET 平台的老牌 ORM ， 存在多年一直都在更新维护， 非常稳定， 长期维护项目的首选；\n- `NHibernate.AspNetCore.Identity` 基于 NHibernate 的 Identity 实现， 完全不依赖微软的 EntityFramework ；\n- `Dapper` 灵活的 SQL 查询， 弥补 NHibernate 提供的 Linq 查询的不足；\n- `AutoMapper`\n- `Swashbuckle.AspNetCore` 为 API 提供基于 Swagger UI 界面；\n\n### 数据库\n\n默认是 PostgreSQL ， database 目录下的脚本也是基于 PostgreSQL 的； 如果需要创建其它类型的数据库， 则可以根据现有的 sql 语句进行修改；\n\n\u003e 为了保证开箱可用， 或许以后会切换为 SQLite 数据库；\n\n## 部署\n\n- 编译为 Docker 镜像进行部署；\n- 编译为单个可执行文件部署；\n\n## 功能截图\n\n![01_login](https://beginor.github.io/assets/net-core-app/01_login.png)\n\n![02_admin_home](https://beginor.github.io/assets/net-core-app/02_admin_home.png)\n\n![03_admin_menu](https://beginor.github.io/assets/net-core-app/03_admin_menu.png)\n\n![04_admin_users](https://beginor.github.io/assets/net-core-app/04_admin_users-1.png)\n\n![05_admin_users](https://beginor.github.io/assets/net-core-app/05_admin_users-2.png)\n\n![06_admin_roles](https://beginor.github.io/assets/net-core-app/06_admin_roles.png)\n\n![07_admin_privileges](https://beginor.github.io/assets/net-core-app/07_admin_privileges.png)\n\n![08_audit_log](https://beginor.github.io/assets/net-core-app/08_audit_log.png)\n\n## 下载和使用\n\n请参考 [下载和使用](docs/00_下载和使用.md) 。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeginor%2Fnet-core-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeginor%2Fnet-core-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeginor%2Fnet-core-app/lists"}