.NET CORE GET Dateianforderung
public FileResult GetFile(string fileid)
{
byte[] bytes = File.ReadAllBytes("C:\Temp.txt");
return File(bytes, System.Net.Mime.MediaTypeNames.Application.Octet, "Temp.txt");
}
Jerome Choo