Search Results for

    Show / Hide Table of Contents

    Class HttpContextExtensions

    Defines a collection of extensions for a object.

    Inheritance
    System.Object
    HttpContextExtensions
    Namespace: MADE.Web.Extensions
    Assembly: MADE.Web.dll
    Syntax
    public static class HttpContextExtensions : object

    Methods

    | Improve this Doc View Source

    GetDomain(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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps