Introduction to enterprise-level rights management framework based on Asp.net Core2.0+ElementUI

The framework uses the following technologies:

Service-Terminal:

  • Asp.Net Mvc Core
  • Through a hierarchy (Entities, Repositories, Application Services, DTOs, etc.)
  • Castle windsor (dependency injection container)
  • Entity Framework  Core
  • Custom User Permission Context
  • Custom logging module
  • Database modeling based on ERStudio, i.e. Sql script and general project code generation
  • Redis cache management

Client:

  • Bootstrap 
  • ElementUI
  • angular js
  • Vue.js
  • sweetalert 、 toastr
  • Unified encapsulation of ajax requests
  • Layer popup

The framework has implemented the following features:

  • Soft deletion support (inheriting the corresponding base class or implementing the corresponding interface will automatically implement soft deletion)
  • Unified encapsulation of common fields, no need to deal with updater update time creator creation time, etc.
  • Unified exception handling (the application layer hardly needs to deal with writing its own exception handling code)
  • Logging (automatic logging of program exceptions)
  • Repository storage mode (Entity Framework, NHibernate, MangoDB, in-memory database have been implemented)
  • Automatic implementation of database transactions for methods in the application layer and the repository layer
  • Encapsulate some Javascript functions to make it easier to use ajax, message boxes, notification components, masking layers for busy states, etc.
  • Permission control, can control the permissions of menu and module function buttons
  • Full-featured Util tool class, such as excel processing, configuration file reading, etc.
  • Support nginx load balancing deployment

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325166472&siteId=291194637