Asp.Net Core API File Upload to Azure Blob Storage

  Рет қаралды 15,712

Codewrinkles

Codewrinkles

Күн бұрын

Пікірлер: 33
@TheNagyTheater
@TheNagyTheater 10 ай бұрын
Awesome tutorial, quick, simple, and yet covers everything. Brilliant Sir!
@michaelseeger3716
@michaelseeger3716 Жыл бұрын
Thank you for this brilliant tutorial. In one case I ran into a problem. And that was returning the downloaded file as a "File" from the endpoint. For me it only worked when I finally used Results.File() and not just File in the manner of a static class as you did. Anyways, it worked well and I was glad to have this ressource shared by you to the community 🙏🏼
@Codewrinkles
@Codewrinkles Жыл бұрын
Glad it helped
@DurgeshMarathe-zb3ge
@DurgeshMarathe-zb3ge 6 ай бұрын
Awesome tutorial, quick, simple, and yet covers everything. Brilliant Sir! this exactly that i want
@hrishikeshgarud7177
@hrishikeshgarud7177 9 ай бұрын
Can you make video on how to get the current uploading or downloading percentage for this? e.g. 10% uploaded , 90% ,100%. Currently its only await blobClient.UploadAsync(filePath, true); so i cannot get percentage from it.
@danielrdm
@danielrdm 9 ай бұрын
If you put the URI of the file on browser (from response body), it would show it? that means, that you could use it on a web page html?
@annatioxzus5200
@annatioxzus5200 11 ай бұрын
I loove this video, but how can I reuse the code for different containers inside the same storageaccount for dev/prod environment?
@siddheshswa
@siddheshswa 9 ай бұрын
Can you please share video for Azure AD authentication to access blob storage ?
@bookuha
@bookuha Жыл бұрын
Hi! Could you please make a video in how to map REST API to your DDD-driven app? For example when PUT/PATCH on some of the resource fields have to invoke some specific business logic, not just validate content length
@AhmedMohammed23
@AhmedMohammed23 Жыл бұрын
but how can i upload multiple files at the same time with some data lets say for example the the user will upload some images with captions like class image { string caption; iformfile image } can i just do that [post] async upload (list images) or class userImages { string userid; list images } [post] async upload (userImages userImages)
@Codewrinkles
@Codewrinkles Жыл бұрын
You create a Dto that contains user inputs + IFormFile property for the file. Then you take in a List (or YourDto[]) in your controller action.
@AhmedMohammed23
@AhmedMohammed23 Жыл бұрын
@@Codewrinkles while this would work i was try to ask how to do the same when IFormFile is nested in a class with other data and that class is used as list in the class which have the user inputs and i will use or there a better way to upload and save the files only if the user inputs was also received and saved to the database
@DChristop
@DChristop Жыл бұрын
How easy is to authenticate users from database table ?
@tobor58
@tobor58 6 ай бұрын
Great Video - what IDE are you using?
@hedin8891
@hedin8891 5 ай бұрын
Intellij Rider
@nagarajuboda5922
@nagarajuboda5922 Жыл бұрын
i need solusation sir
@bongbuincyril6150
@bongbuincyril6150 Жыл бұрын
My God this is excellent thanks man great job
@Codewrinkles
@Codewrinkles Жыл бұрын
Glad you like it!
@oleksiichypizhenko5170
@oleksiichypizhenko5170 10 ай бұрын
Thanks a lot for this tutorial
@McListenUp
@McListenUp 11 ай бұрын
should we worry about the size of the uploaded files? will the stream handle that part?
@pt_trainer9244
@pt_trainer9244 10 ай бұрын
you should handle that before you upload,
@JasonWilson-xq3fp
@JasonWilson-xq3fp 8 ай бұрын
Seems pretty tightly coupled and untestable. WHy didn't you inject the client?
@nove1398
@nove1398 Жыл бұрын
Just a question here, why use it as a singleton?
@Codewrinkles
@Codewrinkles Жыл бұрын
Because there are no constraints that would impose you to do otherwise. You can have just one instance of your service and do all those operations with the same instance. As long as the service itself doesn't keep any state that might change from one operation to the other, you can use singletons.
@nove1398
@nove1398 Жыл бұрын
@@Codewrinkles fair enough
@akdemirsafak
@akdemirsafak 11 ай бұрын
Thank you, usefull.🙂
@Codewrinkles
@Codewrinkles 11 ай бұрын
Glad it was helpful!
@henrik3098
@henrik3098 Жыл бұрын
thanks brother from another mother nice beard bro
@loadiam
@loadiam Жыл бұрын
Great video.
@Codewrinkles
@Codewrinkles Жыл бұрын
Glad you enjoyed it.
@bloopers2967
@bloopers2967 Жыл бұрын
Make a video on fetching the file with different scenarios(all the files, single file, file with timestamp, file from particular folder etc) as well, that’ll willingly be great. I couldn’t find that type of video on KZbin. Thanks for your content
@Codewrinkles
@Codewrinkles Жыл бұрын
Hmmm. From the API perspective it doesn't really chane too much. You would just need to get an IFormFile[] instead IFormFile in your body. I assume your challenges reside more on the front end, right?
Working With Azure Blob Storage in .NET apps. From Zero To Hero
22:06
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Using Blob Storage [3 of 8] | .NET on Azure for Beginners
22:07
Secure an Amazon API Gateway Deployment
29:23
Sibtay Shah
Рет қаралды 160
Adding Filtering, Sorting And Pagination To a REST API | .NET 7
24:02
Milan Jovanović
Рет қаралды 61 М.
Azure Logging for Asp.Net Core Developers
16:50
Codewrinkles
Рет қаралды 9 М.
High-performance logging in .NET, the proper way
15:56
Nick Chapsas
Рет қаралды 75 М.
Clean Architecture with ASP.NET Core 8 | .NET Conf 2023
29:17
Uploading Files to Blazor - The Blazor File Upload Mini Course
43:11
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН