Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.41 KB

File metadata and controls

50 lines (34 loc) · 2.41 KB

CacheManagement

ABP version NuGet NuGet Download Discord online GitHub stars

An abp application module helps administrators to manage the app cache data.

Installation

  1. Install the following NuGet packages. (see how)

    • EasyAbp.CacheManagement.Application
    • EasyAbp.CacheManagement.Application.Contracts
    • EasyAbp.CacheManagement.Domain
    • EasyAbp.CacheManagement.Domain.Shared
    • EasyAbp.CacheManagement.EntityFrameworkCore
    • EasyAbp.CacheManagement.HttpApi
    • EasyAbp.CacheManagement.HttpApi.Client
    • (Optional) EasyAbp.CacheManagement.MongoDB
    • (Optional) EasyAbp.CacheManagement.Web
    • (Optional) EasyAbp.CacheManagement.StackExchangeRedis
  2. Add DependsOn(typeof(CacheManagementXxxModule)) attribute to configure the module dependencies. (see how)

  3. Add builder.ConfigureCacheManagement(); to the OnModelCreating() method in MyProjectMigrationsDbContext.cs.

  4. Add EF Core migrations and update your database. See: ABP document.

Usage

  1. Add permissions to the roles you want.

  2. Add your own cache items.

  3. Enjoy this wonderful module.

CacheItems EditCacheItem CacheItemData

Roadmap

  • Cache values modification.
  • More detailed documentations.
  • More drivers.
  • Unit tests.