i try to use ICacheManager but does not contain this function => GetUserPermissionCache and i put
Configure(options => { options.GlobalCacheEntryOptions = new DistributedCacheEntryOptions() { AbsoluteExpiration = DateTimeOffset.UtcNow.Addseconds(60)//60 second };
});
it's work but the project has become very slow can you help me :(
I can try to test it if you can provide the database script or add those data in DataSeeder, I need to reporduce it to diagnose.
Thank you, I send you the database script.
I tried it on many forms records and always appear, im afraid it's something to do with the database.
Hello, Can you share your project with galip.erdem@volosoft.com so I can take a look at?
Done
Could you share your package.json file of the host project?
Kind regards Nico
The following is my package.json file:
{ "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~1.0.2", "@volo/saas": "^6.0.2", "@volo/audit-logging": "^6.0.2", "@volo/identity": "^6.0.2", "@volo/account": "^6.0.2", "@volo/language-management": "^6.0.2" } }
Hey there,
did you add vue.js manually to the script bundle?
Kind regards Nico
No I did not
Hi
You are using the wrong package name
I installed then one by one successfully but now when I try try to run the project it does not run, here is the log file
2023-05-04 12:31:50.581 +03:00 [INF] Starting web host. 2023-05-04 12:32:09.688 +03:00 [FTL] Host terminated unexpectedly! System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.SettingManagement.Domain, Version=6.0.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Volo.Abp.SettingManagement.Domain, Version=6.0.2.0, Culture=neutral, PublicKeyToken=null' at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder
1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit) at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit) at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List
1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List
1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger)
at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action
1 optionsAction)
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at MainApp.Web.Program.Main(String[] args) in C:\Users\mohda\Documents\NourSoft\Project\PlatformGitHub\frontendPlatform\FrontEnd\DocsysFrontend\src\MainApp.Web\Program.cs:line 39*
From the log file it seems there is something happened to the Volo.Abp.SettingManagement.Domain after I installed the language management, what is the relation between them?