brokul-dev / brokul.dev

1 stars 0 forks source link

Sending files and additional data using HttpClient in .NET Core #13

Open brokul-dev opened 2 years ago

brokul-dev commented 2 years ago

This issue contains comments displayed below the article: https://brokul.dev/sending-files-and-additional-data-using-httpclient-in-net-core

DKusarek commented 2 years ago

Thank you for this article. It was really helpful!

Robinsond76 commented 2 years ago

Thank you very much for this, helped greatly!

mbrits commented 2 years ago

Thanks, this helped sooo much. :)

ejqadir commented 2 years ago

Thanks, this helped

sreeshprakash9 commented 2 years ago

Thank you.

dmuthami commented 1 year ago

A very compact, excellent tutorial. Thank you very much.

terrenceferguson commented 1 year ago

This article truly saved my bacon--great work.

A quick question, is there any way to get Swagger to respect the model binding for the "DataDto"? When it loads in Swagger, it shows/processes it as part of the query string instead of making it part of the form.

iurgi commented 1 year ago

Thanks

HagenKnight commented 1 year ago

Great article, finally I could upgrade an old app I have on .NET framework to .NetCore and this part was critital.

brokul-dev commented 1 year ago

@terrenceferguson I've never checked that, to be honest. 🙂

gemon01 commented 1 year ago

thank you!!!

BidarM commented 1 year ago

How would you implement ModelBinder if your payload DataDto was a base class and FileDataDto was derived from it? I have a BaseRequest class containing common meta data for all upload/download requests. My FileUploadRequest class is derived from BaseRequest class. Thanks.

triadator commented 3 months ago

Wow! It was really helpful! But json serializing method affects some issues with swagger, so 1st one is more suitable for many situations.

abhatla commented 2 months ago

Thank you - so clear and concise. A+!