Startup.cs中的代码如下:
var redisSection = Configuration.GetSection("redis");var conf = redisSection.GetValue<string>("Configuration");var redis = ConnectionMultiplexer.Connect(conf); services.AddDataProtection().PersistKeysToRedis(redis, "DataProtection-Keys");
运行时却出现下面的错误: