Zr.Admin.NET
🎉 ZR.Admin.NET —— 基于 .NET 8 + SqlSugar + Vue3 的前后端分离通用权限管理框架(RBAC),跨平台、开箱即用。内置 SaaS 多租户(一租户一库)、可视化工作流引擎、一键
What is Zr.Admin.NET?
🎉 ZR.Admin.NET —— 基于 .NET 8 + SqlSugar + Vue3 的前后端分离通用权限管理框架(RBAC),跨平台、开箱即用。内置 SaaS 多租户(一租户一库)、可视化工作流引擎、一键代码生成、Quartz.NET 任务调度、Redis 缓存、SignalR 实时通知、接口限流、全局异常处理、数据权限过滤与动态国际化,并集成 AI 助手与 AI 治理能力。代码简洁易懂、易扩展。
Overview of Zr.Admin.NET
What it is
ZR.Admin.NET is a general permission management framework (RBAC) based on .NET 8, SqlSugar, and Vue 3. It is a front-end and back-end separation, cross-platform, out-of-the-box solution. It includes SaaS multi-tenancy (one tenant one database), visual workflow engine, one-click code generation, Quartz.NET task scheduling, Redis caching, SignalR real-time notifications, API rate limiting, global exception handling, data permission filtering, dynamic internationalization, and integrated AI assistant and AI governance capabilities. The code is concise, easy to understand, and easy to extend.
Key features
- SaaS multi-tenancy with DB-per-tenant architecture, tenant lifecycle management, package menu authorization, and user quota control.
- Visual workflow engine supporting dynamic forms, process version management, approval/rejection/withdrawal/transfer, and webhook integration.
- One-click code generation for .cs, .vue, .js, .sql, and uniapp files with customizable front-end controls.
- Task scheduling via Quartz.NET with online management, execution logs, and SQL task guard.
- Real-time notifications using SignalR for user online status and system announcements.
- Security features including TOTP two-factor authentication, login device management, login failure lockout, and token status verification.
- Data permission filtering, API rate limiting, global exception handling, and dynamic internationalization (Chinese, English, Traditional Chinese).
- Integrated AI assistant for conversation, tool orchestration, image generation, and AI governance with quota limits and usage statistics.
Use cases
- Enterprise back-office management systems requiring RBAC and multi-tenant isolation.
- Projects needing a rapid development framework with built-in workflow, code generation, and task scheduling.
- Applications that require real-time notifications, caching, and secure authentication mechanisms.
- Scenarios where AI assistant integration and governance are needed.
Getting started
bash # Initialize database with migration and seed data (run in repository root) dotnet run --project ZR.Admin.WebApi -- --initdb # or short form dotnet run --project ZR.Admin.WebApi -- -i # Alternatively, run the batch script bat/init-run.bat For detailed quick start instructions, see the repository README.
License and pricing
The project is licensed under the MIT License. It is open source and free to use.
Based on the project's public README and repository metadata.