RBAC-based Net6 backend management framework – BootstrapAdmin

RBAC-based Net6 backend management framework – BootstrapAdmin

2022-09-14 0 1,049
Resource Number 38419 Last Updated 2025-02-24
¥ 0HKD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

The recommended BootstrapAdmin in this issue is called BootstrapAdmin because the foreground adopts the Bootstrap layout style.

 

RBAC-based Net6 backend management framework – BootstrapAdmin插图

Brief introduction

BootstrapAdmin (BA for short). The system can be used for all web applications and has been upgraded to NET CORE for cross-platform capabilities. In terms of databases, a variety of databases are supported at the same time, and the detailed list is shown in the detailed list of databases below, and switching data sources only requires changing the configuration file without restarting the application, and the configuration is simple and flexible. The UI front-end uses the popular Bootstrap framework layout for mobile devices and is very compatible with mobile devices, adapting to almost all end devices in the current market. The system also has the characteristics of a single backend to support multiple frontends, and provides the ability of single sign-on (SSO).

Key features:
Integrate with the frontend website through configuration
Build a hierarchical menu for the foreground system
Provide a single backend to support multiple foreground application configurations
Provides single sign-on
Integrated system authentication and authorization module
Provide role, department, user, menu, foreground application authorization
Provide a dictionary table for the personalized configuration of the foreground website
Fully responsive layout (supports all major devices such as computers, tablets, mobile phones, etc.)
Built-in multi-data source support, simple configuration, immediate effect, no need to restart
Built-in data
In-memory caching mechanism, page fast response
Built-in data operation logs and user login logs
Database structure

RBAC-based Net6 backend management framework – BootstrapAdmin插图1

  • Gets the user through the role Roles-UserRoles-Users
    Get to the navigation menu through the role Roles-NavigationRoles-Navigations
    Obtain the department and department users through the role Roles-RoleGroup-Groups-UserGroup-Users
    Obtain the authorized application Roles-RoleApp through the role
    Installation tutorial

    Tutorial on setting up the development environment

    Install the .NET Core 3.1.100 SDK
    Install Visual Studio 2019 (minimum version number 16.4)
    Get the project code BootstrapAdmin: https://gitee.com/LongbowEnterprise/BootstrapAdmin
    The database defaults to the development environment of this project, and the database is a SQLite database, so you don’t need to do anything, please check the database configuration
    System login username and password
    Username: Admin/User
    Password: 123789

    Use of the development environment

    Background engineering Bootstrap.Admin
    Foreground project Bootstrap.Client

    Start from the command line and execute it to the Bootstrap.Admin project and the Bootstrap.Client project respectively

    dotnet run

    Or run the command line with parameters

    dotnet run –project ./src/admin/Bootstrap.Admin
    dotnet run –project ./src/client/Bootstrap.Client

    Multi-project launch

RBAC-based Net6 backend management framework – BootstrapAdmin插图2

interface

RBAC-based Net6 backend management framework – BootstrapAdmin插图3

 

Login screen 1

RBAC-based Net6 backend management framework – BootstrapAdmin插图4

Login screen 2

Front-end permission implementation principle

The Startup container registers the Web Element Permission Control Service
services. AddButtonAuthorization(); Internal instantiation
DefaultButtonAuthorization is also used
DBHelper.AuthorizateButtons method as the default web page element authorization check judgment function
When a web page is rendered by the Razor view engine on the server side, it is automatically invoked via the asp-auth attribute label
AutorizateTagHelper.Process(), the Process method is invoked internally by a service injected through a container
IButtonAuthorization.Authorizate() checks the permissions of web page elements, and renders the controls through the checks, so as to achieve web page element permission control

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free Source Code RBAC-based Net6 backend management framework – BootstrapAdmin https://ictcoder.com/rbac-based-net6-backend-management-framework-bootstrapadmin/

Share free open-source source code

Q&A
  • 1. Automatic: After making an online payment, click the (Download) link to download the source code; 2. Manual: Contact the seller or the official to check if the template is consistent. Then, place an order and make payment online. The seller ships the goods, and both parties inspect and confirm that there are no issues. ICTcoder will then settle the payment for the seller. Note: Please ensure to place your order and make payment through ICTcoder. If you do not place your order and make payment through ICTcoder, and the seller sends fake source code or encounters any issues, ICTcoder will not assist in resolving them, nor can we guarantee your funds!
View details
  • 1. Default transaction cycle for source code: The seller manually ships the goods within 1-3 days. The amount paid by the user will be held in escrow by ICTcoder until 7 days after the transaction is completed and both parties confirm that there are no issues. ICTcoder will then settle with the seller. In case of any disputes, ICTcoder will have staff to assist in handling until the dispute is resolved or a refund is made! If the buyer places an order and makes payment not through ICTcoder, any issues and disputes have nothing to do with ICTcoder, and ICTcoder will not be responsible for any liabilities!
View details
  • 1. ICTcoder will permanently archive the transaction process between both parties and snapshots of the traded goods to ensure the authenticity, validity, and security of the transaction! 2. ICTcoder cannot guarantee services such as "permanent package updates" and "permanent technical support" after the merchant's commitment. Buyers are advised to identify these services on their own. If necessary, they can contact ICTcoder for assistance; 3. When both website demonstration and image demonstration exist in the source code, and the text descriptions of the website and images are inconsistent, the text description of the image shall prevail as the basis for dispute resolution (excluding special statements or agreements); 4. If there is no statement such as "no legal basis for refund" or similar content, any indication on the product that "once sold, no refunds will be supported" or other similar declarations shall be deemed invalid; 5. Before the buyer places an order and makes payment, the transaction details agreed upon by both parties via WhatsApp or email can also serve as the basis for dispute resolution (in case of any inconsistency between the agreement and the description of the conflict, the agreement shall prevail); 6. Since chat records and email records can serve as the basis for dispute resolution, both parties should only communicate with each other through the contact information left on the system when contacting each other, in order to prevent the other party from denying their own commitments. 7. Although the probability of disputes is low, it is essential to retain important information such as chat records, text messages, and email records, in case a dispute arises, so that ICTcoder can intervene quickly.
View details
  • 1. As a third-party intermediary platform, ICTcoder solely protects transaction security and the rights and interests of both buyers and sellers based on the transaction contract (product description, agreed content before the transaction); 2. For online trading projects not on the ICTcoder platform, any consequences are unrelated to this platform; regardless of the reason why the seller requests an offline transaction, please contact the administrator to report.
View details

Related Source code

ICTcoder Customer Service

24-hour online professional services