In ASP.NET MVC 5, Server.MapPath()
returning path with double backslashes and image file adding to my physical project "~/Images/"
folder.But it is not displaying in my solution explorer even after refresh.I have tried Replace()
"\" with "/" but it doesn't works. unable to display images now.
My Images Folder path:"~/Images"
Image Path in Database saving as : "D:\\ProjectName\\SolutionFolder\\Images\\Image1.jpg"
Please help me out of this...