Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@user-re6bu7dy1l6 ай бұрын
Decent video, but it doesn't stand out except local emulator. What's really interesting and what I was lookig for when came across the video is showing how to deal with large files upload/download and also how can we make uploading to the blob storage and db transactions (e.g persisting file info) atomic. Maybe, you could cover more in depth work with files and blob storage?
@MilanJovanovicTech6 ай бұрын
What would you consider a large file? You can't make it atomic, theoretically. Any one service in a distributed system can fail. What you can do is implement appropriate compensating actions, based on what failed. Another option I would consider is being "eventually consistent". Let's say, upload to Blob Storage and subscribe to the upload event, to write some stuff to the DB.
@user-re6bu7dy1l6 ай бұрын
@@MilanJovanovicTech -What would you consider a large file? I would consider something larger than MaxAllowedContentLength default a large file or a file that exeeds maximum block size for single upload operation (which would require multipart upload). - What you can do is implement appropriate compensating actions, based on what failed. This is a advanced level content type I'm looking for
@Ajmal_Yazdani6 ай бұрын
Thanks for your share @Milan Jovanović. What should I consider if I have to upload very large (up to 10GB) files?
@MilanJovanovicTech6 ай бұрын
Consider uploading directly to Blob Storage with pre-signed URLs
@Ajmal_Yazdani6 ай бұрын
@@MilanJovanovicTech Could you please explain more. I believe we need to chunk the file into smaller size and either upload in parallel or something, but something looks not simple here. Thoughts?
@user-re6bu7dy1l6 ай бұрын
@@MilanJovanovicTech What about validation and running business logic? What if need to check allowed upload size for the user?
@OgnjenBokic-c7e5 ай бұрын
Great content. Can this be implemented in a dockerized application on a linux server?
@MilanJovanovicTech5 ай бұрын
Yes - but I don't think you want to run your own instance of Azurite.
@regestea6 ай бұрын
Thanks for your great contents, I think we need a content to "How do I write a test for Azure blob service"
@MilanJovanovicTech6 ай бұрын
Great suggestion!
@ferventurart5 ай бұрын
Great video Milan!
@MilanJovanovicTech5 ай бұрын
Thanks a lot!
@investycoon-app6 ай бұрын
Does Azure Blob Storage can handle rights access for files or is it something we have to implement on web application ?
@MilanJovanovicTech6 ай бұрын
It can
@sreenidhisalugu64983 ай бұрын
Could you please make a video on sending file from angular and storing it locally in azure storage
@MilanJovanovicTech3 ай бұрын
Sure
@Dragonet176 ай бұрын
Arek you going to create course about Azure ?
@MilanJovanovicTech6 ай бұрын
Unlikely
@yunietpiloto44256 ай бұрын
Great content as always. Thanks for sharing!
@MilanJovanovicTech6 ай бұрын
Much appreciated!
@gorgestv63406 ай бұрын
In my practice project, I use a "Cloudinary" ( I think equivalent of Blob) and I save files in this storage and in database I save only paths to this files. What do you mean about this aproach?
@MilanJovanovicTech6 ай бұрын
Works like a charm
@AcapellaNutella65 ай бұрын
I did all this, but I do not see "Files" in my swagger document???
@MilanJovanovicTech5 ай бұрын
No idea, it should just "work".
@AcapellaNutella65 ай бұрын
@@MilanJovanovicTech I just used the classic azure function pattern and did it that way. Kinda gave up on the minimalist approach. Good video tho it showed me how to do what I was trying to do.
@tbalakpm6 ай бұрын
Blog -> Blob
@MilanJovanovicTech6 ай бұрын
Rofl, that autocorrect 🥲😂 Thanks for saving the day!
@itirush27016 ай бұрын
Please make video microservice 🙏
@MilanJovanovicTech6 ай бұрын
Will consider
@harkiratsingh3585 ай бұрын
No need of docker , now it runs within visual studio
@MilanJovanovicTech5 ай бұрын
How so?
@i3looi24 ай бұрын
This is bad practice for big files. You simply proxy the file through the SERVER/API instead of directly going to blobstorage. If you need to upload GB++ files, you bottleneck bandwith and CPU time for no reason.
@MilanJovanovicTech4 ай бұрын
There's also pre-signed URL so you can hit Blob storage directly