Skip to content

Make configurations more easier #67

@catcherwong

Description

@catcherwong

Description

The configurations of EasyCaching is a little complex and dispersive. We should combine them with only one entry.

Steps to Reproduce

None

Related code

 public void ConfigureServices(IServiceCollection services)
 {
    services.AddEasyCaching(option =>
    {
        option.UseInMemory(xxx);
        option.UseRedis(xxx).WithMessagePack();
        //...
    });
}

//SQLite and Memcached
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
    app.UseEasyCaching();
}

Specifications

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions