Community

Returning Files from .NET Core or ASP.NET MVC Controllers

(Peter Vogel) In ASP.NET MVC, the File helper method built into your controller gives you multiple options for retrieving the file you want to send to the client.