Activities of "maliming"

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

Answer

好的, 我会测试和修复GetPermissionNameFormCacheKeyOrNull

非常感谢

Answer

它会尝试匹配字符串格式.

 public static string GetPermissionNameFormCacheKeyOrNull(string cacheKey)
{
    var result = FormattedStringValueExtracter.Extract(cacheKey, CacheKeyFormat, true);
    return result.IsMatch ? result.Matches.Last().Value : null;
}

你修改或者替换后是否解决了问题?

Answer

我没有看懂, 你修改后问题解决了?

Answer

手动执行相同的查询Sql 也很慢吗? 数据库是远程访问吗?

Answer

这只是一个查询语句, 返回一个列表数据, 并也禁用了追踪, 几千个数据不会特别慢.

你使用StopWatch计算一下耗时? 顺便复制生成的查询sql 收到执行看看耗时

Answer

具体是哪几行代码会缓慢?

hi

1 Add Async to your app service method.

2 Remove IConfigurationAppService from App.razor because it doesn't have an implementation.

3 Run abp generate-proxy -t csharp -m app --url https://localhost:44392 --without-contracts command in your TOG.HttpApi.Client

4 Change AddHttpClientProxies to AddStaticHttpClientProxies


Answer

你可以继续覆盖内置的服务, 看看具体哪个方法影响了性能

https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionStore.cs#L65-L104

Showing 1081 to 1090 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.