Class HttpContextExtensions
Defines a collection of extensions for a
Inheritance
System.Object
HttpContextExtensions
Namespace: MADE.Web.Extensions
Assembly: MADE.Web.dll
Syntax
public static class HttpContextExtensions : object
Methods
| Improve this Doc View SourceGetDomain(HttpContext)
Gets the domain name of the requesting context.
Declaration
public static string GetDomain(this HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | The requesting |
Returns
Type | Description |
---|---|
System.String | The domain part of the request's host. |