Microsoft.AspNetCore.WebUtilities Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains commonly used utilities for ASP.NET Core applications, including tools for working with forms, multipart messages, query strings, encoder/decoders and request/response streams.
Classes
Base64UrlTextEncoder |
Encodes and decodes using base64 url encoding. |
BufferedReadStream |
A Stream that wraps another stream and allows reading lines. The data is buffered in memory. |
FileBufferingReadStream |
A Stream that wraps another stream and enables rewinding by buffering the content as it is read. The content is buffered in memory up to a certain size and then spooled to a temp file on disk. The temp file will be deleted on Dispose. |
FileBufferingWriteStream |
A Stream that buffers content to be written to disk. Use DrainBufferAsync(Stream, CancellationToken) to write buffered content to a target Stream. |
FileMultipartSection |
Represents a file multipart section |
FormMultipartSection |
Represents a form multipart section |
FormPipeReader |
Used to read an 'application/x-www-form-urlencoded' form. Internally reads from a PipeReader. |
FormReader |
Used to read an 'application/x-www-form-urlencoded' form. |
HttpRequestStreamReader |
A TextReader to read the HTTP request stream. |
HttpResponseStreamWriter |
Writes to the HTTP response Stream using the supplied Encoding. It does not write the BOM and also does not close the stream. |
MultipartReader |
Reads multipart form content from the specified Stream. |
MultipartSection |
A multipart section read by MultipartReader. |
MultipartSectionConverterExtensions |
Various extensions for converting multipart sections |
MultipartSectionStreamExtensions |
Various extension methods for dealing with the section body stream |
QueryHelpers |
Provides methods for parsing and manipulating query strings. |
ReasonPhrases |
Provides access to HTTP status code reason phrases as listed in http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml. |
StreamHelperExtensions |
HTTP extension methods for Stream. |
WebEncoders |
Contains utility APIs to assist with common encoding and decoding operations. |
Structs
KeyValueAccumulator |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
QueryStringEnumerable |
An enumerable that can supply the name/value pairs from a URI query string. |
QueryStringEnumerable.EncodedNameValuePair |
Represents a single name/value pair extracted from a query string during enumeration. |
QueryStringEnumerable.Enumerator |
An enumerator that supplies the name/value pairs from a URI query string. |