Click or drag to resize

WebExtensions Methods

The WebExtensions type exposes the following members.

Methods
  Name Description
Public Extension Method AddBasicAuthenticationHeader Adds basic authentication header to an HttpClient
Public method Static member AddEmbeddedResourceAssembly Adds embedded resources from the specified assembly.
Public method Static member EmbeddedResourceExists Determines if specified embedded resource exists.
Public Extension Method FixForwardSpacing Corrects script alignment with a desired number of forward spaces.
Public Extension Method GetPostData Gets a collection of uploaded post data from an HttpRequestMessage.
Public Extension Method GetPostDataAsync Asynchronously gets a collection of uploaded post data from an HttpRequestMessage.
Public Extension Method HtmlEncode Performs HTML encoding on the given string.
Public Extension Method IncludeResouce Includes an embedded resource directly into an MVC view page.
Public Extension Method IncludeUrl Includes an HTTP resource directly into an MVC view page.
Public Extension Method JavaScriptEncode Performs JavaScript encoding on given string.
Public method Static member OpenEmbeddedResourceStream Opens a stream to an embedded resource.
Public Extension Method ParseJsonTimestamp Parses a JSON timestamp into a .NET DateTime.
Public Extension Method QueryParameters Gets query parameters for current request message
Public Extension Method RenderResource(HtmlHelper, String, Type, Object) Renders a Razor view from an embedded resource.
Public Extension Method RenderResourceT(HtmlHelper, String, T) Renders a Razor view from an embedded resource.
Public Extension Method ToAbsoluteUrl Converts relative URL to an absolute URL.
Public Extension Method UrlEncode Performs URL encoding on the given string.
Top
See Also