abpframework / abpframework/abp
IRemoteStreamContent causes other DTO fields to be sent as query parameters instead of request body
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
When I use IRemoteStreamContent in my DTO, all other fields are automatically sent as query parameters instead of being part of the request body.
I want to include them in the request body instead, but it seems ABP’s auto-generated proxy (or serialization behavior) forces them into the query string.
``
public class UploadFileDto
{
public string FileName { get; set; }
public string Description { get; set; }
public IRemoteStreamContent File { get; set; }
}
``
Describe the solution you'd like
All DTO fields (including metadata) should be in the form body — not split between query and body.
Additional context
ABP Framework version: 9.3.5
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
Start by reproducing the UploadFileDto example with ABP Framework 9.3.5 and inspect the auto-generated proxy and request serialization behavior. Trace how IRemoteStreamContent changes parameter placement; done when FileName, Description, and File are all sent in the form body rather than splitting metadata into query parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100