what i want to do is to send images via my Web Api. Until now i was using absolute paths and the method Image.FromFile, then i converted the images into Base64 and everything was working fine. But now i uploaded my project and everything is working fine except for images, because the stored paths are "C:............etc" i tried to use relative paths like "Images/MyImage.png" or "/Images/MyImage.png" or "~/Images/MyImage.png" but nothing worked. How can i fix this ?
PS My problem is the same of this question: IIS virtual directory and ASP.NET directory paths but none of the solutions worked for me
Thank you a lot Regards, Marco