Skip to content

Conversation

@ilkayilknur
Copy link
Contributor

Contributes #32565

@ghost ghost added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member labels May 14, 2021
@ilkayilknur
Copy link
Contributor Author

I see that you've been assigned for the other implementation PRs. You might want to review this PR as well. @halter73

Copy link
Member

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@halter73 halter73 merged commit 1448cd9 into dotnet:main May 14, 2021
@ghost ghost added this to the 6.0-preview5 milestone May 14, 2021
{
response.ContentLength = resolvedContentTypeEncoding.GetByteCount(Content);

await using (var textWriter = new HttpResponseStreamWriter(response.Body, resolvedContentTypeEncoding))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks inefficient. Can we just use Response.WriteAsync?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants