Skip to content

FileUpload sample is Returning abstract class FileResult #214

Description

@v-paulino

Hi there

I was checking the code sample FileUpload and just realized that the ActionResult instance type is FileResult that currently is abstract.
FileResult: https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.fileresult?view=aspnet-mvc-5.2

This needs to be updated to one of the inherit types i guess:
System.Web.Mvc.FileContentResult
System.Web.Mvc.FilePathResult
System.Web.Mvc.FileStreamResult

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions