Table of Contents

Class HttpContextExtensions

Namespace
MADE.Web.Extensions
Assembly
MADE.Web.dll

Defines a collection of extensions for a HttpContext object.

public static class HttpContextExtensions
Inheritance
HttpContextExtensions
Inherited Members

Methods

GetDomain(HttpContext)

Gets the domain name of the requesting context.

public static string GetDomain(this HttpContext context)

Parameters

context HttpContext

The requesting HttpContext.

Returns

string

The domain part of the request's host.