how to upload the images to the http server using .Net Maui

ahmed omar 181 Reputation points
2023-04-28T13:34:50.38+00:00

Hello,

please I need to upload the images to the http server using .Net Maui, I tried some tutorials but the IFIleSaver is not found,

so please let me know if there a simple way to do so.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,865 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,519 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alessandro Caliaro 4,186 Reputation points
    2023-04-28T13:39:18.2033333+00:00

    I think is a .net question, not a MAUI problem.

    You can use HttpClient and MultipartFormDataContent

    this a blog: https://makolyte.com/csharp-how-to-send-a-file-with-httpclient/

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.