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

Types moving from Microsoft.Extensions.WebEncoders.Core to System.Text.Encodings.Web #101

Open
Tratcher opened this issue Nov 2, 2015 · 0 comments

Comments

@Tratcher
Copy link
Member

Tratcher commented Nov 2, 2015

As of RC2 the types from Microsoft.Extensions.WebEncoders.Core have been moved to System.Text.Encodings.Web. In the process there were several API changes.

IHtmlEncoder -> HtmlEncoder
.HtmlEncode -> .Encode
IJavaScriptStringEncoder -> JavaScriptEncoder
.JavaScriptStringEncode -> .Encode
IUrlEncoder -> UrlEncoder
.UrlEncode -> .Encode

The parameter ordering for some of the Encode methods has also changed.

See aspnet/HttpAbstractions#459 for discussion.

@Tratcher Tratcher added this to the 1.0.0-rc2 milestone Nov 2, 2015
@aspnet aspnet locked and limited conversation to collaborators Nov 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant