Skip to content

Scrub File prefix from internal File*Result types #36666

@pranavkm

Description

@pranavkm

As part of #34296, we added Results.Stream, Results.File etc as we thought the existing names were less descriptive. However the PR did not rename the implementing types. While they're non-public, they appear in log messages e.g:

info: Microsoft.AspNetCore.Http.Result.FileStreamResult[1]
      Executing FileStreamResult, sending file with download name ''.

It would be nice to scrub these names too to match the Result types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1Work that is critical for the release, but we could probably ship withoutarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-minimal-actionsController-like actions for endpoint routingold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions