Here Mudassar Ahmed Khan has explained with an example, how to use FileStreamResult in .Net Core.
This article will illustrate how to download files using FileStreamResult class in ASP.Net Core MVC.
FileStreamResult class is used when Stream (MemoryStream or FileStream) needs to be downloaded as File.
↧