Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to return Stream from application services & handle on the Dynamic C# proxying #5733

Merged
merged 4 commits into from
Oct 10, 2020

Conversation

alexandru-bagu
Copy link
Contributor

@alexandru-bagu alexandru-bagu commented Oct 7, 2020

@hikalkan
Copy link
Member

hikalkan commented Oct 7, 2020

Thanks a lot. I will deeply review this and comment on.

@hikalkan hikalkan added this to the 3.3-preview milestone Oct 7, 2020
@hikalkan hikalkan self-requested a review October 7, 2020 19:43
@hikalkan
Copy link
Member

Your implementation seems pretty good. I will test myself, maybe a little refactor, then I will merge.

@hikalkan hikalkan changed the title added streaming support Support to return Stream from application services & handle on the Dynamic C# proxying Oct 10, 2020
@hikalkan hikalkan merged commit 207df56 into abpframework:dev Oct 10, 2020
@Rwing
Copy link
Contributor

Rwing commented Jan 14, 2021

@alexandru-bagu Excuse me, how to get the file name in this feature?

@maliming
Copy link
Member

@Rwing Please create a new issue.

@alexandru-bagu
Copy link
Contributor Author

alexandru-bagu commented Jan 14, 2021

@alexandru-bagu Excuse me, how to get the file name in this feature?

a stream does now have a name as it's supposed to be just a string of bytes. you can include the name as an additional parameter to the app service method.
you will have to add the parameter as a route parameter because the call may contain only one complex type to be sent as body (the IRemoteStreamContent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow streaming from application services
4 participants