ASP.NET Web API | File Upload and Download | .NET 7.0

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 25. 04. 2023
  • ASP.NET Web API | File Upload and Download
    Create a minimal API project in Visual Studio 2022.
    đŸ’» GitHub: github.com/shahedbd/API.FileP...
    🚀 Table of Contents:
    - Create API Project using Visual Studio
    - Create Upload and Download Service
    - Add Custom Services in Program.cs
    - Access File Directory
    - Run and Test Project
    🚀 My Profile:
    1.envato.market/7mA73y
    ✅ Business ERP Solution/Product/POS/Company Management:
    1.envato.market/AoMzyj
    ✅ School/College/University Management ERP:
    1.envato.market/15NBrd
    ✅ Dashboard Template | ASP.NET Core MVC Web Starter Kit
    1.envato.market/JrEGWa
    ✅ Advance POS System with Stock Manager | ASP.NET Core | EF Core | .NET Core 6.0:
    1.envato.market/9WQxbW
    ✅ Asset Management System with Barcode | ASP.NET Core | EF Core | .NET Core 6.0:
    1.envato.market/qnNkey
    ✅ Advanced Files & Users Management | ASP.NET Core | EF Core | .NET Core | MSSQL | MySQL:
    1.envato.market/DVaRBq
    ✅ Hospital and Pharmacy Management System | ASP.NET Core | EF Core:
    1.envato.market/OR5o6N
    ✅ Inventory and User Management System:
    1.envato.market/jW221P
    ✅ Invoice Gen(Invoice Generation and Management) using .Net Core and EF:
    1.envato.market/0JOOm3
    ✅ Complaint | Issue | Helpdesk Ticket | My Ticket HelpDesk Support System | ASP.NET Core | EF Core:
    1.envato.market/MXjj5P
    ✅ User Management:
    1.envato.market/WDE2JO
    ✅ ASP.NET Core CRUD Operation Using Dot Net 6.0 | MVC| MSSQL | MySQL | EF Core Code First | jQuery
    1.envato.market/b3Yeg9
    ✅ ASP.NET Core full CRUD with .NET 5 | MSSQL/MySQL | EF code first:
    1.envato.market/OR551W
    ✅ Staff | Employee Leave Management System
    1.envato.market/rnjYzd
    ✅ Library Management System | ASP.NET Core | MSSQL | Code First
    1.envato.market/YgWWgR
    Previous Video:
    ✅ .NET 7 Web API 🔒 JWT Authentication and role-based Authorization
    ‱ .NET 7 Web API 🔒 JWT A...
    ✅ .NET 7 Web API 🚀 | JWT 🔒 Authentication With Refresh Tokens Using ASP.NET Core | MSSQL
    ‱ .NET 7 Web API 🚀 | JWT...
    ✅ Step by Step 🚀 ASP.NET Web API Generic CRUD Operation
    ‱ Step by Step 🚀 ASP.NET...
    ✅ ASP.NET Web API: Playlist
    ‱ ASP.NET Web API

Komentáƙe • 8

  • @nicmantzivis8978
    @nicmantzivis8978 Pƙed 5 měsĂ­ci

    Thank you kind sir

  • @gustavomorais1335
    @gustavomorais1335 Pƙed 4 měsĂ­ci

    Thank you very much for posting content like this, would it be possible to download the file through Get / downloadfile or through Swagger?

  • @twinwalks
    @twinwalks Pƙed 6 měsĂ­ci

    Does it work only when using a web browser? I tried to run this on Postman and only got the file content as a response. No download. Is there a way to download to a shared folder on
    the web server?

    • @DotNetTech
      @DotNetTech  Pƙed 6 měsĂ­ci +1

      Thank you for reaching out. I understand you're facing some challenges with downloading files using Postman. It seems like the response is providing the file content but not initiating a download.
      To address this issue, you might want to check the following:
      Headers: Ensure that the response headers include the Content-Disposition header with a value like "attachment; filename=your_filename.ext". This header instructs the browser (or any client) to prompt the user to download the file.
      Postman Settings: In Postman, make sure that the "Send and Download" option is selected in the "Body" tab for your request.
      File Type: Ensure that the file type is set correctly in the headers and that the file extension matches the actual file type.

  • @josebaezc.7709
    @josebaezc.7709 Pƙed rokem

    Very good. Try to make a tutorial step by step about Document Management System or Another mini Proyect with login and authorization.

  • @cissemy
    @cissemy Pƙed rokem

    Great
    Can you make another video about uploading to Azure Blob ?
    Thanks

  • @jayapriyaj7220
    @jayapriyaj7220 Pƙed 8 měsĂ­ci

    How we can connect this with react

    • @DotNetTech
      @DotNetTech  Pƙed 8 měsĂ­ci +1

      You have to build the FE project separately and just use this as API.