Activities of "heshengli"

Question

https://abp.io/support/questions/9767/The-abp-permission-cache-PermissionGrants-loads-very-slowly-during-the-first-login-but-very-quickly-during-the-second-login-When-the-permission-cache-is-manually-cleared-it-slows-down-again# 通过修改源码,添加耗时日志,发现权限在慢主要是这个函数 PermissionStore.SetCacheItemsAsync

.har文件发你邮箱不,7.2.2 后权限修改代码,copy 会722 重写编译,替换722的权限模块代码可以不

接近4000个权限,50个角色,500用户,每次登录,PermissionGrants Cache,客户端4000,角色4000,用户4000,然后去重。第一登录慢,出现白屏,第二次快点,手动删除缓存,又变慢

abp权限缓存PermissionGrants,第一次登录加载很慢,第二次很快,当手动清除权限缓存后,又变慢

修改源码,添加耗时日志

protected override void ConfigureConventions(ModelConfigurationBuilder builder) { builder.Properties<bool>().HaveConversion<BoolToZeroOneConverter<int>>(); builder.Properties<bool?>().HaveConversion<BoolToZeroOneConverter<int?>>(); } efcore 自带了一堆方法

使用的Oracle (Official)

  • Exception message and full stack trace:
  • Steps to reproduce the issue: Script-DbContext ef core 方法 是否只能是否这个方式,有通用解决方法么

ABP 7.2.2 Cannot find Volo.Abp.Ddd.Domain.Shared 7.2.2 nuget package. I use abp 7.2.2 but the package was not found.

warning when building: MyModule.Domain.Shared.csproj: Warning NU1603 : MyModule.Domain.Shared depends on Volo.Abp.Ddd.Domain.Shared (>= 7.2.2) but Volo.Abp.Ddd.Domain.Shared 7.2.2 was not found. Volo.Abp.Ddd.Domain.Shared 7.3.0 was resolved instead.

<PackageReference Include="Volo.Abp.Http.Client.Web" Version="7.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="7.2.2" />

7.2.2 UseAbpClaimsMap , not dynamic claims, CurrentUser.GetAllClaims() not phone_number

  • ABP Framework version: v7.2.2

  • UI Type: Blazor Server

  • Database System: PostgreSQL

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue: auth 44322 ,claim 有phone_number,但是blazor 和api 都获取不到 Blazor 和Api 添加了引用

      &lt;PackageReference Include=&quot;Volo.Abp.Http.Client.Web&quot; Version=&quot;8.3.4&quot; /&gt;
      &lt;PackageReference Include=&quot;Volo.Abp.Http.Client.IdentityModel.Web&quot; Version=&quot;8.3.4&quot; /&gt;
    
Showing 21 to 30 of 61 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.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.