.NET Core response frame, frame-based Ace Admin menu navigation, Bootstrap layout, fontAwesome icon, inline data binding with Iframe do EasyUI, dynamic configuration list, dynamic configuration form

netnrf response frame

In response to the rapid development frame

Demos: https://rf2.netnr.com

v3.x

  • Front-end jQuery + Bootstrap + EasyUI + AceAdmin + fontAwesome
  • The rear end using .NET Core + EF + SQL (SQLServer, MySQL, PostgreSQL, SQLite)
    • Database script placed in wwwroot/scripts/the directory
    • Database conversion tool used: http://www.szmesoft.com/DB2DB
    • All using LINQ, cross-database to avoid SQL injection
  • Visual Studio 2019 to run the project

Project structure

  • Netnr.Core library (reference NuGet, Source Address: https://github.com/netnr/Netnr.ClassLibrary )
  • Netnr.Data data access, storage (Scaffold-DbContext command automatically generated)
  • Netnr.Domain entity (Scaffold-DbContext command automatically generated)
  • Netnr.Fast common method
  • Netnr.Func application
  • Netnr.ResponseFramework Web site

data sheet

  • Users (SysUser)
  • Roles, role permissions (SysRole)
  • Menu (SysMenu)
  • Button (SysButton)
  • Log (SysLog)
  • Dictionary (SysDictionary)
  • Table configuration (SysTableConfig)

Features

  • Log: System account login
  • Permissions: Permissions role, menu and page control buttons
  • Form: dynamic configuration title, width, sorting, alignment, formatting, freezing, click sorting
  • Form: dynamically generated forms, custom headers, sorting, cross-column type, required, and support for multi-generation forms
  • Query: dynamically generated query panel, custom fields query, query expressed as JSON
  • Log: access logging
  • Dictionary: General dictionary table
  • Tools: database table information display, a key export the database table structure for Excel
  • Task: scheduled task to clean up the temporary directory, reset the demo database
  • Export: Public export Excel tables, custom queries body, supports conditional queries, column formatting, support for additional operation
  • Upload: Upload Interface common
  • Interface: All non-normalized page requests the interface, and generates a visual interface document Swagger, https://rf2.netnr.com/swagger

Instructions for use

  1. Create a table, write the comment field (easy to generate table configuration)
  2. Generate a table configuration, you can use [Toolbox] - [Table Management] - [generate] table configuration, you can also directly copy the folder wwwroot/scripts/table-config/corresponding SQLscript
  3. Modify table configuration, tables, forms, queries, forms need to be adjusted to show (title, width, sorting, input type, column formatting, required, default values, etc., according to business development configuration items)
  4. Modify table configuration, input type configuration, to configure drop-down box, pull down trees, etc., in Commonthe controller write method, urla source access point to the address of this method
  5. Modify table configuration, the configuration column format, such as status formatted as required 启用, 停用with a common format method used, you may configure a custom formatting methodscol_custom_字段小写
  6. Create a page, add this table menu page, configure the operating button
  7. Write table corresponding query, save (add / modify), delete methods, refer to [System Settings] inside the function
  8. Based on z.jsthe form of the method of the package (API consistent with EasyUI, see EasyUI Docs) configured to request the address lookup table, form type, tab, and the like check

Screenshot

List

List

Add, Edit, View

Forms

List Configuration

List Configuration

Form Configuration

Form Configuration

Role permissions configuration (tree)

Role permissions configuration

API third-party documentation

Attached

Source

Guess you like

Origin www.cnblogs.com/netnr/p/12020660.html