If you are running into ASP.NET Core application, there is a specific package that you can use in order to make StackExchange.Redis.Extensions configuration easier.
public voidConfigureServices(IServiceCollection services){// Retrieve the configuration fro your json/xml fileservices.AddStackExchangeRedisExtensions<NewtonsoftSerializer>(conf);}I
Remember to install also you favorite serializer.
public voidConfigure(IApplicationBuilder app, IWebHostEnvironment env){app.UserRedisInformation();}