0
uyarbtrlp created
Hello,
I want to override AbpRemoteServiceOptions.BaseUrl while using the dynamic c# API clients on console application, but it still retrieves the value which is defined on the configuration. I've followed the issue (https://support.abp.io/QA/Questions/3224/How-we-can-extend-Dynamic-API-Client-Proxy-to-allow-changing-RemoteService-base-url-dynamically) and created an options manager.
I see that it still reads the value on the configuration.
How to change it dynamically?
- ABP Framework version: v5.3.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
1 Answer(s)
-
0
hi
There is a scope service that you can try to override it
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProvider.cs#L7