Skip to content

cuizhijiang/Abp.CSRedisCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abp.CSRedisCache

NuGet

Getting Started

Configuration

Add a DependsOn attribute for the AbpRedisCacheModule and call the UseRedis extension method in the PreInitialize method of your module, as shown below:

[DependsOn(
    //...other module dependencies
    typeof(AbpCSRedisCacheModule))]
public class MyProjectWebModule : AbpModule
{
    public override void PreInitialize()
    {
        //...other configurations
        
        Configuration.Caching.UseCSRedis(options =>
        {
            options.ConnectionString = "127.0.0.1:6379,pass=123,defaultDatabase=13,poolsize=50,ssl=false,writeBuffer=10240";
        });
        
    }
    
    //...other code
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages