An abp application module helps administrators to manage the app cache data.
-
Install with AbpHelper
Coming soon.
-
Install Manually
-
Install
EasyAbp.CacheManagement.Application
NuGet package toMyProject.Application
project and add[DependsOn(CacheManagementApplicationModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.Application.Contracts
NuGet package toMyProject.Application.Contracts
project and add[DependsOn(CacheManagementApplicationContractsModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.Domain
NuGet package toMyProject.Domain
project and add[DependsOn(CacheManagementDomainModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.Domain.Shared
NuGet package toMyProject.Domain.Shared
project and add[DependsOn(CacheManagementDomainSharedModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.EntityFrameworkCore
NuGet package toMyProject.EntityFrameworkCore
project and add[DependsOn(CacheManagementEntityFrameworkCoreModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.HttpApi
NuGet package toMyProject.HttpApi
project and add[DependsOn(CacheManagementHttpApiModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.HttpApi.Client
NuGet package toMyProject.HttpApi.Client
project and add[DependsOn(CacheManagementHttpApiClientModule)]
attribute to the module. -
Install
EasyAbp.CacheManagement.MongoDB
NuGet package toMyProject.MongoDB
project and add[DependsOn(CacheManagementMongoDbModule)]
attribute to the module. -
(Optional) If you need MVC UI, install
EasyAbp.CacheManagement.Web
NuGet package toMyProject.Web
project and add[DependsOn(CacheManagementWebModule)]
attribute to the module. -
Add
options.ConventionalControllers.Create(typeof(CacheManagementApplicationModule).Assembly);
toConfigure<AbpAspNetCoreMvcOptions>(options => { ... });
in your host module (It is usually Web project or HttpApi.Host project). -
Install
EasyAbp.CacheManagement.StackExchangeRedis
NuGet toMyProject.Domain
project and add[DependsOn(CacheManagementStackExchangeRedisModule)]
attribute to the module. (If you are using other distributed cache provider, please find a correct driver.) -
Add
builder.ConfigureCacheManagement();
to OnModelCreating method inMyProjectMigrationsDbContext.cs
. -
Add EF Core migrations and update your database. See: ABP document.
-
-
Add permissions to the roles you want.
-
Add your own cache items.
-
Enjoy this wonderful module.
- Cache values modification.
- More detailed documentations.
- More drivers.
- Unit tests.