How to UPLOAD file with ASP.NET CORE WEB API | C# tutorial for beginners

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 41

  • @williamliu8985
    @williamliu8985 2 года назад

    Amazing! Learn this cool technique in about 7 mins! Thanks very much!

  • @Alex-kb2ws
    @Alex-kb2ws 2 года назад +1

    Excellent explanation in a very concise tutorial, thanks a lot!

  • @skullveira
    @skullveira 2 года назад

    Thanks a lot ,easy and simplified implementation and well explained.

  • @ayecob558
    @ayecob558 Год назад

    Thanks for the great explanation

  • @leonardoribeiro4144
    @leonardoribeiro4144 2 года назад

    Amazing explanation, help me a lot thanks for sharing 🔥

  • @aikidoshi007
    @aikidoshi007 2 года назад

    Very well done, thanks!

  • @navjotsehgal3920
    @navjotsehgal3920 3 года назад +4

    Can you please tell how to store the file on any of the folders on my local machine?

    • @pallyweb
      @pallyweb 3 года назад

      He won't, become Microsoft pays them well to lick Microsoft shit in every possible way.

  • @VasilDimitroff
    @VasilDimitroff Год назад

    Very helpful, thanks!

  • @BilalIjaz-fi9hn
    @BilalIjaz-fi9hn Год назад

    Help me alot.
    thanks

  • @2005Azm
    @2005Azm 3 года назад +1

    So refreshing !

  • @diogosilva8219
    @diogosilva8219 2 года назад

    Thx man you are the best!

  • @Marko-the-Beast-Master
    @Marko-the-Beast-Master 2 года назад

    very good tutorial, thx

  • @senkamatic8448
    @senkamatic8448 2 года назад

    You are the best!!!

  • @saroshwadia
    @saroshwadia 3 года назад

    Great video! What about downloading files from a Blazor WASM app? Thx

  • @mesh475
    @mesh475 2 года назад

    You are so amazing, thank you!

  • @MatthijsHoekstra
    @MatthijsHoekstra 2 года назад

    excellent explanation, thank you!

  • @richardzhang8756
    @richardzhang8756 2 года назад

    Good video. If A little bit slow, it would be great. Thanks.👍👍

  • @muayadhaddad2530
    @muayadhaddad2530 2 года назад

    thank you , and how i can retrieve images?

  • @nirmalpaneerselvam4123
    @nirmalpaneerselvam4123 3 года назад +2

    Nice one. But Video is very fast.

  • @johngalt5205
    @johngalt5205 3 года назад

    Will this work with Visual Studio 2017?

  • @יבגניאייזנשטט
    @יבגניאייזנשטט 3 года назад

    Great one! thanks!

  • @asjane17
    @asjane17 2 года назад

    how do i consume this api in mvc?

  • @辰-g4i
    @辰-g4i 3 года назад

    hi Appreciate to you provide this video,May I ask can I use this web api to upload multiple files at the same time?

    • @TechWithPat
      @TechWithPat  3 года назад +3

      Yes, you can change the upload method in the controller in a way that it accepts an array of IForm.

    • @辰-g4i
      @辰-g4i 3 года назад

      @@TechWithPat appreciate,I will try it 😃

  • @pogzdiytv4498
    @pogzdiytv4498 3 года назад +1

    how to upload more than 100mb ?

  • @arunarunmugam8449
    @arunarunmugam8449 3 года назад +1

    how to upload file of huge size ?

    • @TechWithPat
      @TechWithPat  3 года назад +1

      Azure Storage can store a file weighting up to 200 TB. To increase the size of the input in your web app do this : www.binaryintellect.net/articles/612cf2d1-5b3d-40eb-a5ff-924005955a62.aspx

  • @KristijanStosic
    @KristijanStosic 2 года назад

    Azure Storage is not free, how to set it up?

    • @TechWithPat
      @TechWithPat  2 года назад

      I think you can get free credit for Azure for 30 days.

  • @SarveshKumar-ui9pf
    @SarveshKumar-ui9pf 3 года назад

    Hi, could you please provide the code for uploading image from local machine to sitecore media library.

  • @edgardogonzalez9779
    @edgardogonzalez9779 2 года назад

    How to Upload Large File like 1 GB?

  • @sinkarq578
    @sinkarq578 2 года назад

    Based

  • @deepakchakravarthy3449
    @deepakchakravarthy3449 Год назад

    Maximum file size of uploading is 2MB. I need to upload 2GB File can you please provide me an resource of how to upload larger file?

    • @TechWithPat
      @TechWithPat  Год назад

      You need to increase the "MaxRequestBodySize", here is a doc on how to do it : learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/options?view=aspnetcore-7.0

  • @shawnlai8
    @shawnlai8 2 года назад

    I followed all the steps but It didn't generate the startup.cs file... could you show the code of this file or can you explain how to generate this file? Thanks

    • @TechWithPat
      @TechWithPat  2 года назад

      The source code is on my github repo : github.com/techwithpat/WebApiFileUpload

    • @diogosilva8219
      @diogosilva8219 2 года назад

      .NET 6 doesn't have startup, im looking how to do it without it, did you find out?

  • @hamad1028
    @hamad1028 2 года назад

    a video to containerize this app using Docker...!?!?!?