Asp.Net Core MVC Image Upload and Retrieve

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 95

  • @CodAffection
    @CodAffection  4 ปีที่แล้ว +2

    goo.gl/bPcyXW : Buy me a Coffee
    bit.ly/36IA1cH : AspNet Core MVC CRUD
    bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC
    bit.ly/2yEPlpB : Convert MVC App to Single Page App
    bit.ly/3muhseC : CRUD without EF in AspNet Core MVC
    bit.ly/30fPDMg : More MVC Tutorials

  • @branislavzivanovic4775
    @branislavzivanovic4775 2 ปีที่แล้ว +2

    I am following you're tutorials for a long time, and I can say that you were a key role in my development career! I can't say how much grateful I am! THANKS!

    • @CodAffection
      @CodAffection  2 ปีที่แล้ว

      Happy to be a part of the journey.
      Thanks for the comment.

  • @rhow9724
    @rhow9724 3 ปีที่แล้ว +1

    I was having a hard time figuring this out, then your video explained it all so well.
    Thanks very much mate!

  • @sulaimanahmedz5826
    @sulaimanahmedz5826 4 ปีที่แล้ว

    Hi Shamsheer. I was in my UG course when I had asked you for this video because I was doing a project on the same. Now when I am in my PG course, you have made and uploaded this video🤣🤣🤣🤣🤣

  • @c38hd70
    @c38hd70 3 ปีที่แล้ว

    Bro U deserve Everything u Wish .U are the best !

  • @fransisk4042
    @fransisk4042 3 ปีที่แล้ว +1

    It really helped us, Thank you from all my Team!

  • @MrPiterm33
    @MrPiterm33 2 ปีที่แล้ว

    Thank you Shamseer, you were a great help to me and my friends!

  • @bahalulkabir
    @bahalulkabir 3 ปีที่แล้ว

    Helps me a lot... You described so good... now so easy... Excellent... god bless..

  • @raghadabbas6005
    @raghadabbas6005 4 ปีที่แล้ว +1

    That's the most amazing vid i had ever watching srs thx a lot for your effort

  • @surajthakur8051
    @surajthakur8051 2 ปีที่แล้ว

    Thanks for this
    video I was very stuck in this work your video helped a lot

  • @khoenguyenvan1465
    @khoenguyenvan1465 3 ปีที่แล้ว +1

    Severity Code Description Project File Line Suppression State
    Error CS1061 'object' does not contain a definition for 'FileName' and no accessible extension method 'FileName' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) ImageUpload
    help me

  • @zakitworld
    @zakitworld ปีที่แล้ว

    Great tutorial 👌

  • @tanangie2
    @tanangie2 3 ปีที่แล้ว

    Im going to use this tutorial video to do my asp.net core 5.0 razor page project, do I need to take note anything if Im going to modify certain things in here

  • @abdullahquhtani4247
    @abdullahquhtani4247 4 ปีที่แล้ว +2

    Do you do freelance work?! Plz REPLY.

  • @andradenegociodigital9649
    @andradenegociodigital9649 4 ปีที่แล้ว +5

    Hi CodeAffection
    Make more videos about ASP.NET CORE 3.1 WebApi and ANGULAR 9 please. Much success to you!

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว +4

      sure.thanks for the suggestion.

  • @kristianfortunegonzales2288
    @kristianfortunegonzales2288 2 ปีที่แล้ว

    Thank you for your hardwork. I was able to upload files into my application through your tutorial. But how about the edit method? When I try to saving any updates, imagename returns null and imagefile is not showing.

  • @haykazantonyan6594
    @haykazantonyan6594 3 ปีที่แล้ว

    Thank you very much, for your good tutorial.

  • @rafaiyarushdhaoishi8935
    @rafaiyarushdhaoishi8935 4 ปีที่แล้ว +1

    Hello,if i want to upload or select more than one image what should I do then?

  • @dha464
    @dha464 4 ปีที่แล้ว +2

    Hi Mr. CodeAffection, kindly please zoom your workspace to a default of at least 150% so I could read your code for your next videos? Your tutorials are very helpful. I want to watch all your videos. Thank you!

  • @nekobeer5814
    @nekobeer5814 4 ปีที่แล้ว

    I love your tutorial. Thank you!

  • @김용재-r8i
    @김용재-r8i 4 ปีที่แล้ว

    Thank you for your kindness... so much helping me.

  • @soudaninphengkhammy2713
    @soudaninphengkhammy2713 2 ปีที่แล้ว +1

    If I don't have Startup.cs, what can I do?

  • @nagweentareq7536
    @nagweentareq7536 3 ปีที่แล้ว

    thank u so much you explained it very well

  • @meowwwhamed
    @meowwwhamed ปีที่แล้ว +1

    Thank you so much

  • @egemenbahtiyar8675
    @egemenbahtiyar8675 3 ปีที่แล้ว

    BOOM ITS WORKED thx brother

  • @gabrielgonzalezdomeniconi3343
    @gabrielgonzalezdomeniconi3343 3 ปีที่แล้ว

    With this tutorial I was able to even change the image on the "edit", but when I do that my program doen'st delete the image, I tried to put the same code of the delete on the edit to delete the image when I change it to a new, but I couldn't figure out how to do it properly, I'm receiving some error messages on the website. Can you help me?
    In the page says that:
    ArgumentNullException: Value cannot be null. (Parameter 'path3')
    If I register first, adding a image and then edit, my path3 shoud'nt be null, why is it happening?

  • @joh5333
    @joh5333 2 ปีที่แล้ว

    Sir is it possible to do the same with uploading video ?

  • @abderrahmenalhelaoui5813
    @abderrahmenalhelaoui5813 4 ปีที่แล้ว +2

    does the code o this applcation exist on github like the previuos ones ?

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      not uploaded to GitHub, because this is small project.

    • @DmitriMironov
      @DmitriMironov 4 ปีที่แล้ว

      YES :-) github.com/antonykidis/ImageUpload

    • @mr.killshotzz2298
      @mr.killshotzz2298 3 ปีที่แล้ว

      @@DmitriMironov thanksss

  • @sudjaijannuan
    @sudjaijannuan 4 ปีที่แล้ว

    Thank you for the sample tutorial

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      Glad you found the video helpful.

  • @gerganavarbanova554
    @gerganavarbanova554 ปีที่แล้ว

    How can make the edit action and view?!

  • @georgesiafa4196
    @georgesiafa4196 3 ปีที่แล้ว

    Hi everyone, Any idea how I can upload and retrieve multiple images like the car sale websites?

  • @sayedalighareeb7179
    @sayedalighareeb7179 3 ปีที่แล้ว

    Hello Mr CodAffection,
    Can you please help me with updating the image.
    no matter what i do, i am unable to replace the current image with new image in the wwwRoot image folder

  • @argeelearner3978
    @argeelearner3978 4 ปีที่แล้ว

    Great Videos as always!!

  • @Bilibakut
    @Bilibakut 4 ปีที่แล้ว

    I have seen your previous videos.. i have learnt a lot... How can I contact you?? Need your help

  • @edsonferraz1
    @edsonferraz1 16 วันที่ผ่านมา

    Hello!! Do you have a exemplo this code without using Entity Framework

    • @CodAffection
      @CodAffection  16 วันที่ผ่านมา

      Not exactly, but this one should help you.
      th-cam.com/video/HupmPny23pE/w-d-xo.html

  • @somyajeetswain1424
    @somyajeetswain1424 3 ปีที่แล้ว

    At 11:25 I am getting the following error in the Prog Manag Console "
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" What to do?

    • @avidwivedi840
      @avidwivedi840 3 ปีที่แล้ว

      Same with me you find any solution???

  • @dannercode5630
    @dannercode5630 3 ปีที่แล้ว +1

    Is possible do this with AJAX/jquery?

    • @CodAffection
      @CodAffection  3 ปีที่แล้ว +1

      yes.
      Discussed here with Asp.Net MVC(not in Core) : th-cam.com/video/DI_YppvLgJ8/w-d-xo.html

    • @dannercode5630
      @dannercode5630 3 ปีที่แล้ว

      Thanks man, I could do this project with Ajax and .net core 5, the video was helpful.

  • @shunjidrahman6860
    @shunjidrahman6860 4 ปีที่แล้ว +1

    Can you please make a video on JWT/OAuth?

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว +1

      JWT authentication is already covered in previous tutorial.

  • @johngreenstreet9347
    @johngreenstreet9347 3 ปีที่แล้ว

    Really excellent but as others have requested can you show code for edit action, thank you

  • @CharlesOllavo
    @CharlesOllavo 4 ปีที่แล้ว

    Nice tutorial...

  • @JonasBay96
    @JonasBay96 4 ปีที่แล้ว

    Im getting an error. Everytime I upload a picture, my path will be "imageName.png%7d" - Where does the %7d comes from? I have tried to search for it anywhere

  • @TiagoDaniel13
    @TiagoDaniel13 4 ปีที่แล้ว +1

    Can u help me with the edit file uploaded?

    • @mikednotre-dame4346
      @mikednotre-dame4346 3 ปีที่แล้ว

      You can solve this? When i try edit the image, the image can't view.

  • @eroditmehmeti3982
    @eroditmehmeti3982 3 ปีที่แล้ว +1

    Sir can you expand by making another video on HOW TO UPLOAD MULTIPLE IMAGES ?

  • @PTI_Pakistan_Imrankhan
    @PTI_Pakistan_Imrankhan 4 ปีที่แล้ว

    identity is not working when i create a new controller and authentication are not working sir please help me

  • @samiulalam2612
    @samiulalam2612 3 ปีที่แล้ว

    Boom! and u are awesome... That's It

  • @ahmadshellah1355
    @ahmadshellah1355 3 ปีที่แล้ว +1

    Thank you

  • @dhirenpathak
    @dhirenpathak 3 ปีที่แล้ว

    Thank you, thank you , thank you

  • @13680seba
    @13680seba 3 ปีที่แล้ว

    Excelente¡ Muchas gracias¡ :)

  • @badr-salem
    @badr-salem 4 ปีที่แล้ว +3

    How The Edit action?

    • @miguelangeltaipemamani4840
      @miguelangeltaipemamani4840 3 ปีที่แล้ว

      It's similar to create action, and the view is similar to delete view.

    • @Amir_Plays_non_stop
      @Amir_Plays_non_stop 3 ปีที่แล้ว

      @@miguelangeltaipemamani4840 Can you help me with the edit code I just can't figure it out

    • @gerganavarbanova554
      @gerganavarbanova554 ปีที่แล้ว

      @@miguelangeltaipemamani4840 How to make Edit action and view ?

  • @dhirenpathak
    @dhirenpathak 3 ปีที่แล้ว

    Please one Video series on Blazoe WebAssembly (Crud)

  • @thanghoquoc7624
    @thanghoquoc7624 3 ปีที่แล้ว

    how i can modified image ?

  • @hafizowaisahmed9616
    @hafizowaisahmed9616 ปีที่แล้ว

    how to update image on root folder ?????

  • @luismedina7029
    @luismedina7029 4 ปีที่แล้ว

    Podrías hacer un tutorial de vomo importar Excel a sqlserver
    Gracias

  • @miguelangeltaipemamani4840
    @miguelangeltaipemamani4840 3 ปีที่แล้ว

    Many thanks

  • @davidpereira4026
    @davidpereira4026 4 ปีที่แล้ว

    Why you don't use the dark theme?

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      I haven't tried that in visual studio. may be next time.

  • @vuche7184
    @vuche7184 2 ปีที่แล้ว

    Help me !! I don't see my startup .

    • @CodAffection
      @CodAffection  2 ปีที่แล้ว

      use program.cs for latest asp.net versions.

  • @abdullahal-nahian
    @abdullahal-nahian 4 ปีที่แล้ว +5

    BOOOOM That's it. ha ha ha ha

  • @piraviperumal2544
    @piraviperumal2544 4 ปีที่แล้ว +1

    Again failed to zoom in the editor..:(

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว +1

      sorry, sometime I forget to zoom the editor.
      well I started to consider your suggestions.

  • @shiji523
    @shiji523 4 ปีที่แล้ว

    how to create auto unique id in asp .net can u make a video

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      unique id ? for what, primary key ?

  • @Duelweb
    @Duelweb 4 ปีที่แล้ว

    Great video, but was spoiled by no close up view !!!

  • @falcongreens2570
    @falcongreens2570 4 ปีที่แล้ว

    It is perfect

  • @CreativeB34ST
    @CreativeB34ST 2 ปีที่แล้ว +1

    Saving images in your application directory is not really a good idea when you want to have multiple applications covering your domain. For example when you want a desktop application, web application, API, mobile application, ... Consider uploading the images to Blob Storage instead, and saving the blobId in the database.

  • @thatoericktshoma2594
    @thatoericktshoma2594 2 ปีที่แล้ว

    Boom... But where is download code

  • @muhammadwaqasiqbal8243
    @muhammadwaqasiqbal8243 4 ปีที่แล้ว

    Is there any way i can get my hands on a video where there is Code first approach? I am confused with type of parameter to use my image with. then I found out it is IFORMFILE but i cant understand where do i have to use it. Before you may laugh on me for not knowing the very basic thing need i tell you that i am chemical engineer and i started coding 20 days back. thank you

  • @ArcaneProgrammingInfotech
    @ArcaneProgrammingInfotech 24 วันที่ผ่านมา

    Please display code of retrive data

    • @CodAffection
      @CodAffection  23 วันที่ผ่านมา

      th-cam.com/video/QpJvqiHl1Fo/w-d-xo.htmlsi=RcEfolo6-xl7hD1K&t=1436

  • @renatocfrancisco
    @renatocfrancisco 3 ปีที่แล้ว

    now how to re-upload another image in the edit function, i don't fucking know.