我尝试使用StackExchange.Redisnuget将同步Redis存储转换为.NETCore2.2WebAPI的异步实现。同步版本有效。BasicUsageGuide状态:Additionally,ifyouplantomakeuseoftheasynchronousAPIandyourequiretheTask.AsyncStatetohaveavalue,thiscanalsobespecified:intdatabaseNumber=...objectasyncState=...IDatabasedb=redis.GetDatabase(databaseNumber,as
我尝试使用StackExchange.Redisnuget将同步Redis存储转换为.NETCore2.2WebAPI的异步实现。同步版本有效。BasicUsageGuide状态:Additionally,ifyouplantomakeuseoftheasynchronousAPIandyourequiretheTask.AsyncStatetohaveavalue,thiscanalsobespecified:intdatabaseNumber=...objectasyncState=...IDatabasedb=redis.GetDatabase(databaseNumber,as