9 Answer(s)
-
0
Hello,
can you please share logs?
Please check out https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-overriding-services?_redirected=B8ABF606AA1BDF5C629883DF1061649A#example-overriding-a-controller
Thanks,
-
0
Hello Anjali, I tried the same way but no luck. Could you please let me know how to upload Logs.
-
0
Hello,
There is a logs folder under the host project. Please check the error in that and share it with me.
-
0
No error in the logs. but how can I share it since it's large in size?
-
0
Hello,
Please check this simila issue https://abp.io/support/questions/5961/Application-Configuration-API-Endpoint if it helps you.
Thanks,
-
0
Hi Anjali, I gone thought the above URL, Still, I am getting 502 Undocumented Error: Bad Gateway
-
0
HI,
could you please share a minimal reproducible project with me ? i will check it. thanks
shiwei.liang@volosoft.comr
-
0
Hello Liang Shiwei,
I have provided all the code screenshots. Please let me know exactly what you are looking for.
-
0
Hi,
I can't reproduce this problem.
My steps
- abp new Testapp
- Run DbMigrator
- Add CustomApplicationConfigurationController to the HttpApi project
[RemoteService(true, Name ="abp")] [Route("api/abp/application-configuration")] [ControllerName("AbpApplicationConfigurationController")] [Dependency(ReplaceServices = true)] [ExposeServices(typeof(AbpApplicationConfigurationController))] [Area("abp")] public class CustomApplicationConfigurationController : AbpApplicationConfigurationController, IAbpApplicationConfigurationAppService { public CustomApplicationConfigurationController(IAbpApplicationConfigurationAppService applicationConfigurationAppService, IAbpAntiForgeryManager antiForgeryManager) : base(applicationConfigurationAppService, antiForgeryManager) { } public async override Task<ApplicationConfigurationDto> GetAsync(ApplicationConfigurationRequestOptions options) { var result = await base.GetAsync(options); result.ExtraProperties.Add("customProperty", "customValue"); return result; } }