Working With Images Like a Pro in .NET

preview_player
Показать описание

Hello everybody I'm Nick and in this video I will show you how you can get started with uploading, retrieving or even editing images in C# and .NET. In order to store our images in a scalable way we will use AWS' S3 service which is excellent for this purpose.

To get $25 worth of free AWS credits email dotnet-on-aws-feedback[at]amazon[dot]com with the subject line "AWS CREDIT NICK CHAPSAS".

This video is sponsored by AWS

Don't forget to comment, like and subscribe :)

Social Media:

#csharp #dotnet #aws
Рекомендации по теме
Комментарии
Автор

One of my favorite things about these videos is my new drinking game where you take a drink every time Nick says "and that is it!" 🍺🍺🍺😵‍💫😉

jimread
Автор

Uploading file to S3 directly from UI with a presigned Url is more like a pro.

ful
Автор

We are actually using something similar to trigger virus scanning on every uploaded object, except instead of modifying the objects, we're recording the object states into dynamo db. (could probably use s3 metadata as well, but we have some extra functionality with ddb)

Sanabalis
Автор

10:36 "I'm getting this face.. On the browser.." sounds like the ending of a horror movie 😁😁😁

idkanymoreman
Автор

Just a heads up for someone that would struggle with the same thing:
If you are having an issue when your function sometimes works, but only like 10% of the time, and you see 30 second timeout, for me it was caused by applying gaussian blurr with 25 weight. I have no idea why, I'm assuming free lambda functions get extremely little memory/cpu or something.

TheRex
Автор

1. Can AWS scan an uploaded file for viruses?
2. Is there an easy or standard way to check the content of a photo?

Great video, thanks!

volinct
Автор

When uploading the image you use profile_images/{id} as the key, and when you retrieve the image you use images/{id}. And it works! Am I missing something?

tamaslencse
Автор

Your conroller is now coupled to the s3 objects. If you ever started using azure blob storage the controller should just have to swap the interface but now your implementation would need to update the controller

AnySL
Автор

11:34: silly question, why did pasting the code result in BucketName getting changed to _bucketName? Did I miss something? That caught my attention.

zabustifu
Автор

Nice, what would you have used to create a thumbnail for a pdf that was uploaded? I am not seeing many free options for that.

michaelakin
Автор

I cannot endorse using specific cloud storage client in multi-cloud era.

alonezlciel
Автор

hi
i have one question. When saving image, we are uploading it twice browser -> server -> s3. So if there is a large file say 1gb, then technically we will be uploading 2 gb. Is there a better way to upload to s3 and avoid uploading file twice ?

TheAzerue
Автор

5:15 Does AWS use Put and Post as the same? - What I can find (in REST APIs) Post is used to create new resources where Put is used to update existing resources but in your example you use Put for both.

CRBarchager
Автор

The ImageSharp license requirements are really offputting, either buy an expensive license or if you develop open-source stuff, only allow (A)GPL(3) compatibility. I'm personally steering clear of these half-open licenses, since I might later release stuff MIT or similar licensed code. Also AWS looks so much better than Azure we are stuck with a work, azure looks like a not even half polished turd in comparison, just getting Azure functions working, is a nightmare in itself, then you need to deal with the 100 edge cases where stuff just randomly stops working or doesnt trigger, because they try to run it as a web app in their whole special runtime.

michaelnjensen
Автор

Great video thanks. How about second part where you show how to generate thumbnail of a .docx uploaded or a .pdt?

andrewiecisa
Автор

@Nick What's the benefit of injecting services through an interface?

parlor
Автор

is there discount for your api course?

mohamedal-qadeery
Автор

I feel title of the video was a click bait.

kalpeshblue
Автор

Hey.. Nick.. I am editing a PDF on PDF candy website... It takes an hour to load PDF and it's painfully slow.. Like after editing a sentence cursor rests a while.. Sometimes page jumps automatically in wrong direction. After editing PDF size should be smaller.. It gets bigger. Kept auto/smooh scrolling checked/unchecked...no hope. Now a days it's showing a script may be busy on this site.. Warning unresponsive script error. In the corner it shows Javscript (0).Safe mode is useless. All happening in Firefox. Chrome gives memory error Aw snap. Can I have your mail address? So you check on it with my PDF? Please reply soon.

darkmatter
Автор

Argh… I can’t give a thumbs up because you flogging AWS :(

saberint