这只是一个查询语句, 返回一个列表数据, 并也禁用了追踪, 几千个数据不会特别慢.
你使用StopWatch计算一下耗时? 顺便复制生成的查询sql 收到执行看看耗时
具体是哪几行代码会缓慢?
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
你可以继续覆盖内置的服务, 看看具体哪个方法影响了性能
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionStore.cs#L65-L104
hi
Can your web app get the access token from the auth server?
Login(web app) => redirect to authserver => login by username and password => redirect to your web app
Thanks.
Thanks, I wll check it asap
hi
when backend throw an UserFriendlyException,
Can you share your backend code?
Can you check your HTTP call response in Chrome Network Panel? What are response headers and body?
Thanks.
Great 👍
hi
I haven't received it. Can you share it by https://wetransfer.com/
Thanks.