hi
Can you copy your code to the test project?
I will check and fix it.
Thanks.
ok, no problem
Can you share an access token?
What is the output if you use the access token to request the profile endpoint?
GET /api/account/my-profile
好的, 我会测试和修复GetPermissionNameFormCacheKeyOrNull
非常感谢
它会尝试匹配字符串格式.
public static string GetPermissionNameFormCacheKeyOrNull(string cacheKey)
{
var result = FormattedStringValueExtracter.Extract(cacheKey, CacheKeyFormat, true);
return result.IsMatch ? result.Matches.Last().Value : null;
}
你修改或者替换后是否解决了问题?
我没有看懂, 你修改后问题解决了?
这只是一个查询语句, 返回一个列表数据, 并也禁用了追踪, 几千个数据不会特别慢.
你使用StopWatch计算一下耗时? 顺便复制生成的查询sql 收到执行看看耗时
具体是哪几行代码会缓慢?

