Activities of "maliming"

hi

Can you share the steps or project that I can reproduce this exception?

liming.ma@volosoft.com

Thanks.

hi

Can you share two simple projects to reproduce the 401 error?

liming.ma@volosoft.com

Thanks.

hi

All projects should get a token from the Auth Server.

And the token will be validated by Auth Server website.


Will all your projects use the same identity users database?

Thanks.

Answer

我已经在framework中优化了这个方法

参考: https://github.com/abpframework/abp/pull/23622

Answer

如果用户和角色太多, 这样会造成更卡顿的情况

hi

Adding [RemoteService(false)] to all ClientProx classes will fix the problem.

This is because your app service is different from the standard one.

The client proxy assumes that each interface corresponds to a single implementation, but your interface has a generic base class.

public interface IWorkOrderAttachmentTypeAppService : IAttachmentTypeAppService<AttachmentTypeDto>

Thanks

I will check it asap.

Thanks.

Answer

好的, 我会在模块中修复它

Answer

你可以在app模版中尝试复现问题, 然后我们可以排除出问题.

Answer
var permissions = (await PermissionDefinitionManager.GetPermissionsAsync())
                .Where(x => notCacheKeys.Any(k => GetPermissionNameFormCacheKeyOrNull(k) == x.Name)).ToList();

改为

var names = notCacheKeys.Select(k => GetPermissionNameFormCacheKeyOrNull(k)).ToArray();

var permissions = (await PermissionDefinitionManager.GetPermissionsAsync())
    .Where(x => names .Any(k => k == x.Name)).ToList();

速度从6秒到几秒?

Showing 2431 to 2440 of 12930 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.