Horje
c# web api return image file Code Example
c# web api return image file
[HttpGet]
public IActionResult Get()
{            
    Byte[] b = System.IO.File.ReadAllBytes(@"E:\\Test.jpg");   // You can use your own method over here.         
    return File(b, "image/jpeg");
}




Csharp

Related
HOW TO RETURN CELL VALUE FROM EXCEL IN C# Code Example HOW TO RETURN CELL VALUE FROM EXCEL IN C# Code Example
dictionary to list c# Code Example dictionary to list c# Code Example
how to store user input into list c# Code Example how to store user input into list c# Code Example
recursive reverse linked list Code Example recursive reverse linked list Code Example
create new object from generic c# Code Example create new object from generic c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13