Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileUpload sample is Returning abstract class FileResult #214

Open
v-paulino opened this issue Aug 23, 2022 · 0 comments
Open

FileUpload sample is Returning abstract class FileResult #214

v-paulino opened this issue Aug 23, 2022 · 0 comments

Comments

@v-paulino
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant