abpframework / abpframework/abp
Automatically set HttpClient.BaseUrl when the HttpClient name matches to a remote service name
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
When we use IHttpClientFactory to obtain a named HttpClient, we can automatically set its BaseUrl by getting the value from the remote service configuration (IRemoteServiceConfigurationProvider). We should be sure that this won't be a breaking change for ABP Framework or client applications. If so, we may provide a way to use the old behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the IHttpClientFactory integration and IRemoteServiceConfigurationProvider implementation, then trace how named clients and remote service configurations are currently resolved. Define completion as matching names setting HttpClient.BaseUrl without breaking existing ABP Framework or client behavior, including a documented compatibility path if needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100