System Library Common Framework
Search Results for

    *.Benchmark*,*.Tests*,*.ApiTests*,*.BaseTest*,DelegateJsonConverter,CalleeCancelledRequestException,ClientResponse,ContentType,OutputCachePolicy
    Show / Hide Table of Contents Show / Hide Table of Contents
    NamespaceSystemLibrary.Common.Framework SystemLibrary.Common.Framework.App.dll

    An implementation of the 'old' thread safe singleton HttpContext we all know and love from .NET Framework

    HttpContextInstance

    public static class HttpContextInstance

    Inheritance
    object
    HttpContextInstance
    Examples
    Arguments
    X

    Properties

    Get the current Http Context instance

    Remarks
    X

    Do note that Http Context can be null in a console application or in a 'Unit' Test Application or if MVC is not yet registered as a service/invoked

    public static HttpContext Current { get; }

    X
    var httpContext = HttpContextInstance.Current;
    X
    Property Value
    Type Description
    HttpContext

    }

    In This Article
    Package: nuget
    Source: github
    Website: System Library Common Framework