Getting started with Azure Blob Storage in .NET Core | Azure Tutorial

  Рет қаралды 59,240

Nick Chapsas

Nick Chapsas

Күн бұрын

Пікірлер: 83
@pedramfeyz2173
@pedramfeyz2173 4 жыл бұрын
hope this help if someone is confused like me and can not get the source code BlobInfo which used in blobService is a custom class class BlobInfo { public Stream Content { get; set; } public string ContentType { get; set; } }
@gami195
@gami195 4 жыл бұрын
Thanks mate, I was super confused too. It is a legit class in the Azure.Storage.Blobs.Models namespace too/
@andresbeltran5779
@andresbeltran5779 4 жыл бұрын
I´ll gonna try, few days with this error
@pawarasiriwardhane7755
@pawarasiriwardhane7755 3 жыл бұрын
Thank you very much. You man saved me.
@KartikRai-YrIDDCompSciEngg
@KartikRai-YrIDDCompSciEngg 3 жыл бұрын
i have made this class in models but still not returning duble parameters, how to make this custom class?
@johnykes
@johnykes 3 жыл бұрын
// + constructor here: public BlobInfo(Stream Content, string ContentType) { this.Content = Content; this.ContentType = ContentType; }
@pawarasiriwardhane7755
@pawarasiriwardhane7755 3 жыл бұрын
Pin this message. (For all the model classes) Most people watching this video are confused at the beginning. Please maintain a proper organization within your video content. * 12:56 UploadFileRequest.cs * 17:36 UploadContentRequest.cs * For the BlobInfo Class: class BlobInfo { public String Content { get; set; } public string ContentType { get; set; } }
@naturelovetimelapse6286
@naturelovetimelapse6286 2 жыл бұрын
Hi I am getting error at services.AddSingleton(x. It says The best overloaded method for Addsingleton does not have a parameter named x ...i am using .net core 6
@delxjj
@delxjj 2 жыл бұрын
I keep getting a blob container not found error when trying to get a blob and a unsupported media error in Postman when trying to upload a file
@eqwerty610
@eqwerty610 4 жыл бұрын
Nick, thanks for all the useful content you share with us, I appreciate it.
@khwezimngoma
@khwezimngoma 3 жыл бұрын
You made it make so much sense, thanks Nick you ROCK!!
@vasylstolyarchuk6226
@vasylstolyarchuk6226 4 жыл бұрын
Thank you very much for your efforts to teach us, ordinary people. Thanks)
@brianwells990
@brianwells990 2 жыл бұрын
Nick, I've appreciated your videos for a very long time, but this one was so helpful, I couldn't have slept well tonight without becoming a Patreon subscriber of yours.
@noahb5019
@noahb5019 2 жыл бұрын
Nick, you're the best. That is all.
@alfredorodriguez598
@alfredorodriguez598 4 жыл бұрын
Excellent, coincidentally yesterday and today I was investigating about it and you made this video. I hope you delve into the prices, which is what I doubt most. Thanks...
@thund3rstruck
@thund3rstruck 4 жыл бұрын
Great stuff! I'd love to see how you append data to an existing file in Blob storage. We are thinking about perhaps offloading our logging mechanics into blob storage rather than on the file share they are kept today.
@rahulsbhatt
@rahulsbhatt 2 жыл бұрын
Same, did you find a solution?
@arjunrr4923
@arjunrr4923 4 жыл бұрын
Am to able to find code which mentioned in the description link? How to find it out
@shashankpandey1019
@shashankpandey1019 Жыл бұрын
I have a doubt here that if we want to upload file in side a folder and folder is created a runtime so how can we managedl this? There also a chance of subfolder as per my requirement.
@danielarandamartin2709
@danielarandamartin2709 2 жыл бұрын
Great Tutorial ! Thank you very much.
@bigandfilthy9199
@bigandfilthy9199 4 жыл бұрын
Absolute life saver, thank you sooo much. But please upload the source code, I could not find it even after following the steps in the description XD
@flaviocamello3645
@flaviocamello3645 3 жыл бұрын
Thanks! I was problem with Azure Storage!
@KrakenPipe
@KrakenPipe 4 жыл бұрын
BlobInfo doesn't take any constructors, what am I doing wrong? 10:30
@filipskukan7081
@filipskukan7081 3 жыл бұрын
Nick made his own BlobInfo class in the models. You can get access to his source code if you press the link in the description. After you fill out the form in the link, you should get an email invitation to his repository in couple of minutes.
@mrinmoychowdhury4667
@mrinmoychowdhury4667 Жыл бұрын
Excellent explanation brother ❤
@ShahabLodhi
@ShahabLodhi 11 ай бұрын
great video thank you, what if we want to scan files for viruses on uploading
@Wismat
@Wismat 2 жыл бұрын
I am a little bit confussed with this upload using file path. Isn't it only working because client (Postman) and server (.NET Core API) are on the same machine? Otherwise, if they were on separate machines, it would not work, as during the call only filePath and no content is passed to the server. Am I correct?
@lerocher
@lerocher 4 жыл бұрын
hi Nick , I already subscribed but I am not able to get the source code . Could you please explain how to get it ?
@LieberLois
@LieberLois 3 жыл бұрын
Really good explanation! Just one thing: using a filepath for uploading will only work when the User hosts the Backend Server on his Machine!
@kawthooleidevelopers
@kawthooleidevelopers Жыл бұрын
How come my BlobInfo constructor doesn't take any argument? Does your BlobInfo come from using Azure.Storage.Blobs.Models?
@AshokSingh-ot6th
@AshokSingh-ot6th 4 жыл бұрын
Tell me your Repository Name also for this github code
@user-lk3xc5mt4n
@user-lk3xc5mt4n Жыл бұрын
Thank you
@MrDonald911
@MrDonald911 2 жыл бұрын
It would have been easier to follow if you showed the IBlobService interface file inside your models folder ...
@frankenbeans6930
@frankenbeans6930 4 жыл бұрын
Great tutorial! Thanks!
@MUKKASAI
@MUKKASAI 3 жыл бұрын
BlobInfo is custom model or refered from Azure.blobs package? can you please let me know as it is causing issue in my code
@AugustoGuerrero
@AugustoGuerrero 2 жыл бұрын
is a custom model public class BlobInfo { public Stream Content { get; set; } public string ContentType { get; set; } }
@kingsanu5250
@kingsanu5250 4 жыл бұрын
fot Get BlobInfo now not work plz update for 12.0
@saadben90
@saadben90 3 жыл бұрын
Why you don't want to make your code source public ?
@octavioarruda183
@octavioarruda183 2 жыл бұрын
Will the service crashes if it receives null or string.Empty entries?
@will44559
@will44559 2 жыл бұрын
Just wondering how to write unit test for this, I found sdk stuff kind of tricky to mock. Any advice would be appreciated.
@brianwells990
@brianwells990 2 жыл бұрын
20:00 where Nick tips us off that he likes PostgreSQL... see him type out jsonb but then catches error and removes the 'b'... LOL
@kuvashennaidoo6238
@kuvashennaidoo6238 4 жыл бұрын
I have registered but I still cannot get to the code. What is the name of the repo?
@kuvashennaidoo6238
@kuvashennaidoo6238 4 жыл бұрын
BTW - great video :)
@ertan1147
@ertan1147 4 жыл бұрын
Thank you for your useful video again! As you know, azure offers a lot of solutions and I believe that many of developers have concerns regarding prices and performances. For example, there is virtual machine and app service, which is better in which case.. if I have a VM, shall I use storage or not.. What brings me exactly? If you make a video in order to answer that kind of question, it will be very useful. I like this storage option but I cannot say that if it worths or not. I've calculated the price,it says 17 dollars in my case and it is nothing.. but is it really the correct price?
@scottchandler1796
@scottchandler1796 2 жыл бұрын
Good stuff. I'm trying to find an example of how to upload a blob to a container that has a folder within it. I can't seem to find an example
@kingsanu5250
@kingsanu5250 4 жыл бұрын
link not work
@benlewies8828
@benlewies8828 3 жыл бұрын
I would have liked to see coverage of Azure Storage emulator as well in the tutorial
@arnaspenkaitis6939
@arnaspenkaitis6939 4 жыл бұрын
Just a quick question, the title says its on .NET core, but I can't find class blobInfo in my project on .NET core, can't be a thing this video is on .NET ?
@arnaspenkaitis6939
@arnaspenkaitis6939 4 жыл бұрын
Actually after watching a video few times, I saw that it is your custom class. Would be great if you could share whole source code.
@nickchapsas
@nickchapsas 4 жыл бұрын
It is shared. You can find a link in the description
@chuannguyen1686
@chuannguyen1686 3 жыл бұрын
hello, could you guide me how to resize image using Azure Blob Storage ? Assume that user try to upload an image with over 10mb and we will resize it to even less than 500kb.
@daled3502
@daled3502 3 жыл бұрын
Hi Nick, Found the source code great tutorial... Just wondering if you could include a view for selecting a file for your machine and uploading to azure blob storage. That's the one bit I'm having issues with getting done... Cheers, Thanks again for a great tutorial..
@nicokoch4500
@nicokoch4500 3 жыл бұрын
Have you found out what to do? :) I'm also having the same problem
@tylercrane6368
@tylercrane6368 3 жыл бұрын
Hey Nick, excellent video dude! So I have never messed around with media content like this before and was wondering once we get the Blob Service up and running, where would be a good place to go and learn a little more about displaying video content with the service we built? Other than that, I subscribed, became a patreon member because I love the content, I thought your video was easy to follow and very robust, and I look forward to more of your videos!
@alexandermelchers1497
@alexandermelchers1497 2 жыл бұрын
Great intro into Blob Storage! But that file-upload mechanism looks like black magic to me...! 😯 I mean, you just post some JSON to the server, presumably not sending the actual file content along. So, how does the server end up getting access to the file? From what I understand from web technology (though that might be dated) is that this would require another client-triggered request... 🤔
@malikehsan147
@malikehsan147 Жыл бұрын
How to list only blobs based on LastModifiedDate?
@TheAzerue
@TheAzerue 2 жыл бұрын
Hi @Nick very informative video. I have one question. If user wants to upload say 500MB or 1GB video then one way is, it is uploaded to my server first and then again upload it to azure blob. If there a way to have upload it once to azure blob. Thank you for great video, keep up creating quality content.
@lukesanford8528
@lukesanford8528 3 жыл бұрын
Loved the video. Very informative! I am having one issue. When doing the await GetBlobAsync, the response I get is "waitingforactivation". Did I miss a step?
@martinweihrauch2379
@martinweihrauch2379 4 жыл бұрын
Great! How would you authenticate with a service principle, so you dont have to expose the key? I want to make an app that is limited to "read only".
@ee_tech_channel6148
@ee_tech_channel6148 2 жыл бұрын
Thanks for very clear explanation :) I will also ask about how can I return MD5 integrity checksum of my file, that uploaded to my blobStorage? Hope you can help me.
@cryptowref9818
@cryptowref9818 3 жыл бұрын
Great video Nick, could you share an example of how to secure blob service with Azure AD? So the user first has to log in then allowed to get or add blob items to storage?
@igorhenriques931
@igorhenriques931 4 жыл бұрын
Hey Nick! Great Tuto. I was wondering... How can I download files with conditionals? I need to download all files between two dates and I only managed to do it by listing all blobs in the container and then working with the string of file names to extract data and force the conditionals by there. Any tips to it better?
@julivanespi
@julivanespi 3 жыл бұрын
I've been searching videos on how to download but a lot of them show a way that you need to use javascript and use the IJSRuntime to invoke the js. Not the solution I am looking for though...
@octavioarruda183
@octavioarruda183 2 жыл бұрын
The code isn't on description, so a lot of things are not clear just watching the video Thank you anyway for the great tutorial
@nickchapsas
@nickchapsas 2 жыл бұрын
It is in the description. You have to be a patreon to get the code, but the instructions are there
@user-sx1pw6lq4q
@user-sx1pw6lq4q 3 жыл бұрын
Hey Everyone. Could anyone explain me the difference between Azure Data Lake Storage Gen2 and About Blob storage. Is it the same?
@carlosbaptiste2062
@carlosbaptiste2062 2 жыл бұрын
Does Azure blob storage scan for viruses?
@anilvadlamudi2039
@anilvadlamudi2039 4 жыл бұрын
Hi Nick, I like your videos, Can you create new videos on Azure AD, Table Storage, Cosmos DB. Thank you.
@rahulsbhatt
@rahulsbhatt 2 жыл бұрын
Great video! Is there any way to integrate serilog and use append blob in this?
@AugustoGuerrero
@AugustoGuerrero 2 жыл бұрын
Hey everybody! can some one share the link to the repo of this?
@diego_solis
@diego_solis 3 жыл бұрын
Where can I get the code?
@jeremyrooks9784
@jeremyrooks9784 11 ай бұрын
You never show 'BlobInfo' class.
@ksp4441
@ksp4441 3 жыл бұрын
@Nick Chapsas Thanks for this tutorial !! How can we use prefix to get reference to blob? e.g. $"{moduleId}/{referenceId}"
@kalaiselvank7643
@kalaiselvank7643 4 жыл бұрын
Hi nick,video is awesome .can you share the source code sample .i like to learn with sample .thanks
@AshokSingh-ot6th
@AshokSingh-ot6th 4 жыл бұрын
How to get github code for this
@guilhermekramer2636
@guilhermekramer2636 3 жыл бұрын
Great video, do you have this code on github?
@kunalr_ai
@kunalr_ai Жыл бұрын
Watching after 2 years in Oct 2022 . Don't know what to do
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 35 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 11 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 83 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 57 МЛН
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 65 М.
Azure Blob Storage - Azure Blob Storage Tutorial - Step by Step
41:03
Scott Duffy @ GetCloudSkills
Рет қаралды 54 М.
Stop using the HttpClient the wrong way in .NET
10:14
Nick Chapsas
Рет қаралды 191 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 312 М.
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 64 М.
Don’t Use UUIDs/GUIDs in Databases. Use this Instead
10:36
Nick Chapsas
Рет қаралды 45 М.
When LINQ Makes You Write Worse .NET Code
9:42
Nick Chapsas
Рет қаралды 31 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 35 МЛН