- ABP Framework version: v4.4
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no (Angular -identity server separate)
- Exception message and stack trace:
- Steps to reproduce the issue:"
During initial load the api /abp/application-configuration takes a lot of time. I am considering to introduce overall cache with key includes the _currentUser.Id
Just wondering which call needs to be overridden and if the above approach will work.
I can see some article referring to override this call (in the ink below) but my guess is this more for mvc application , hence require suggestion/support. https://github.com/abpframework/abp/blob/8371b74839be57c955d7b6199d1ee10422e4cd26/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L69
6 Answer(s)
-
0
hi
Create a class and inherit the
AbpApplicationConfigurationAppService
then override the methods.[ExposeServices(typeof(IAbpApplicationConfigurationAppService), typeof(AbpApplicationConfigurationAppServiceApplicationService))] public class MyAbpApplicationConfigurationAppService : AbpApplicationConfigurationAppService
-
0
hi
Create a class and inherit the
AbpApplicationConfigurationAppService
then override the methods.[ExposeServices(typeof(IAbpApplicationConfigurationAppService), typeof(AbpApplicationConfigurationAppServiceApplicationService))] public class MyAbpApplicationConfigurationAppService : AbpApplicationConfigurationAppService
which namespace and nuget package Do I need to include? as I am unable to find the references?
-
0
Let me know which nuget package and namespace reference is needed..as I am unable to resolve
-
0
hi
Package :
Volo.Abp.AspNetCore.Mvc/
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations;
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L24
Customizing the Application Modules: Overriding Services
https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services
-
0
-
0
Your project already includes this.
https://www.nuget.org/packages/Volo.Abp.AspNetCore.Mvc/