preamble
Hello everyone, recommend a .NET 8.0 as the core, combined with the front-end Vue framework, to achieve the design concept of complete separation of front and back end. It not only provides powerful support for basic features such as rights management, code generator, etc., but also significantly reduces development difficulty and accelerates project delivery by adopting mainstream technologies and best practices.
If you need an efficient development solution, this framework can help everyone easily meet the challenges and achieve business goals.
Projects
YuebonCore is a modern privilege management and rapid development framework based on .NET 8.0, designed for front-end and back-end separation. It integrates core modules such as organization management, role user management, permission assignment, multi-system and multi-application support, timed task scheduling, business document coding rules, and code generator, providing developers with a one-stop development experience.
The framework takes full advantage of the latest technology stack, including Core MVC, SqlSugar ORM, WebAPI, Swagger document automation tools and front-end frameworks to ensure that the development process is efficient and easy.
YuebonCore's architecture is simple and easy to use, making it ideal for rapid startup and iteration of small to medium-sized projects.
Functional Features
- Open Source License:Fully open source under the MIT license agreement.
-
Mainstreaming Framework:Easy to learn and use based on popular technology stacks.
-
Secondary development:Supports flexible customized development to meet most project requirements.
-
Code Generator:Reduce duplicate coding efforts by 70% and increase development efficiency.
-
Fine-grained authority control:Navigation menu and function button level permission management.
-
Data Rights Management:Precise control over the scope of data access, such as at the department, group or company level.
-
Common class encapsulation:Logging, caching, validation and other functional modules.
Scope of application
Wide range of applications, can be used to develop all kinds of management software, including OA, ERP, BPM, CRM, WMS, TMS, MIS, BI, e-commerce platform backend, logistics management system, courier management system, and education management system.
built-in functionality
1、System settings: dynamic configuration of the system common parameters.
2, user management: the user is the system operator, the function is mainly to complete the system user configuration.
3、Organization: Configure the system organization (company, department, group), tree structure to show support for data permissions.
4, role management: role menu rights allocation, set the role of the data scope permissions by organization.
5, dictionary management: the system is often used in some of the more fixed data maintenance.
6, function module: configure the system menu, operating privileges, button privilege identification and so on.
7, timed tasks: online (add, modify, delete) task scheduling contains the implementation of the results of the log.
8, code generation: front and back end code generation (.cs, .vue, .js) code.
9, log management: the normal operation of the system log, logging log records and query; system abnormal information log records and query.
10、Multi-application management: support application call api authorization control.
11. Multi-system management: to realize the unified management and authorization of each subsystem.
13, business document coding rules: you can customize the business document coding rules by constants, dates, counts, time and so on.
14, SMS and email: integrated Tencent cloud SMS notification and EMail send notification
15. Support for tenant model
16、Support user-defined theme style
17、Support a master multi-slave database read-write separation
Project technology
The front-end currently uses Vue independent front-end and Core MVC mode, using a somewhat different technology stack, and will focus on the optimization of the Vue side of the operation and maintenance.
1. Front-end technology
Based on Vue3, Vite, Vuex, Vue-router, Vue-cli, axios and element-plus.
The front-end is developed using the VS Code tool
2. Portal
element-plus official website
/#/zh-CN
vue-element-admin
/vue-element-admin-site/zh/guide/
3. Back-end technology
- Core Framework: .NET 8.0 +SqlSugar + AutoMapper + WebAPI + swagger
- Timed Scheduled Tasks: Components
- Security support: filters, Sql injection, request forgery
- Server-side validation: entity model validation, own package Validator
- Caching frameworks: Microsoft's own Cache, Redis
- Log management: Log4net, login logs, operation logs
- Tools: NPOI, MiniProfiler Performance analysis, CAPTCHA, rich public functions
Project structure
The solution consists of
-
[Foundation library]: The core components of the package framework, including a series of rapid development often used in the Utility auxiliary tools, the framework of each component of the core interface definition, part of the core functionality of the implementation;
-
[Rights Management Class Library]: Realization of role-function and user-function functional permissions based on Security, and encapsulation of role-data and user-data data permissions.
-
[AspNetCore Class Library]Provides AspNetCore server-side functionality of the package , supports webapi and webmvc mode , while supporting plug-in development ;
-
[Management background]: Based on aspnet core mvc to realize the rights management and CMS part of the management background.
-
[CMS base class library], including article management, advertisement management, etc., as a case study for you to develop reference!
-
[webapi interface]: Provides interface services for Vue Edition or other third-party systems.
DataBase is the latest database backup file and currently supports MS SQL Server and MySql.
Project Effect
1、Management platform experience address: with tenant management module
2. Test tenant experience address: no tenant management module
Experience account password are: admin/admin888
login page
System module and function management
Role Management
code generator Support one-click generation of server-side code and front-end code, copy and paste simple, fast and efficient realization of functionality
Project Address
Gitee:/yuebon/YuebonNetCore
WebAPI:
Official Documentation:/
If you found this article helpful, why not support it with a like? Your support is what keeps me motivated to continue sharing my knowledge. Feel free to leave a comment if you have any questions or need further help.
You can also join WeChat[DotNet Technician] community to share ideas and grow with other tech-loving peers!