Uploading Files with ASP.NET Core and Angular

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

In this video, we are going to learn how to upload files with the ASP.NET Core WEB Api and Angular. We are going to use uploaded files as well.

LINKS MENTIONED IN THE VIDEO:
To visit the whole article and download the source code visit:
To learn more about the Angular development, visit:
Blog:

FOLLOW US ON SOCIAL MEDIA!

VIDEO SUMMARY:
Being able to upload files and use them afterward is something we need in various types of applications. Sometimes this is not a trivial task to accomplish, but that’s why we are going to show you one way that is both easy to implement and understand.

So, uploading files to the ASP.NET Core Web API server and then using them in an Angular client application is going to be the main goal of this video.

We’ll stick to images, but the logic is the same for other file types as well so feel free to play around a bit.
Рекомендации по теме
Комментарии
Автор

Thank you all for watching and for your support.

CodeMaze
Автор

Thanks a lot, initially I was calling an IFormFile in the Api and was trying to pass the values from angular. Thi method was much easier.

kishoremukherjee
Автор

Thank you very much for the excellent explanation. I wish I could find such helpful explanations whenever I need help.

mohamedbechere
Автор

Thank you, the explanation was very neat, step by step and fast I learn a lot, I apply this to my project and works perfectly fine.

isaacplazas
Автор

Thanks for the tutorial. If I need to use one of the images from the server to the client and use it how to do that?

mrtrader
Автор

Thank you very much! Everything is as clear as possible. Subscribed:)

tatsianamaltseva
Автор

how can i store the image binary data in the database instead of the file path

harogereadone
Автор

what if want to send json data the form and upload image first if the user click submit, I mean send json data and file in same request

rezanrasoul
Автор

Thank you very much for the tutorial👌😊😁😍!!

uvindupathirana
Автор

What if i want to store images/docx files as varbinary in database?

Karogal
Автор

I've try to implement this code at my project, but I'm getting a Content-type error at the header. Thanks for the video.

williamjrodrigues
Автор

Can you share the model class, whether you used the IFormFile type or something else

Mr_Abd
Автор

wich is the maximum size ? i´m getting 413 error response due to heavy headers

juandiegotovaria
Автор

This helped me a lot.
Good job! Thanks!

PhilipeTavares
Автор

Thanks. I was exactly looking for this.

TheImranbergi
Автор

What was the inside of the models it is the IformFile?

Akoyimpakto
Автор

I need some parameter send along with formdata from angular to api..pls suggest

diptikarma
Автор

i wonder, is it really a good practice to store images in local folder of a project?

lukapanic
Автор

How do you retrieve the file afterwards

charlesclayman
Автор

it would be great if you provide a video on how to read the stored files in the images folder in net core

techiesadda