IFormFile FileUpload RRS feed

  • Question

  • Hi,

    I am using Blazor Wasm, and I want to uplaod a pdf or jpeg file to server.

    Please dont share the server side code, all examples explains server side. But I need to get a client example.

    Because, I want to upload media file with some date. I will use multipart/form-data, but I can not assign my file to IFormFile.

    How I can assign a file/filestream to IFormFile?

    Thank you


    • Moved by CoolDadTx Tuesday, May 26, 2020 1:36 PM ASP.NET related
    Tuesday, May 26, 2020 10:55 AM

All replies

  • Use the following external forum for this


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    profile for Karen Payne on Stack Exchange

    Tuesday, May 26, 2020 12:38 PM