Show / Hide Table of Contents

    Class Middleware

    Provides a base-class for middleware implementation in ASP.NET Core.

    Inheritance
    System.Object
    MiddlewareCore
    Middleware
    Inherited Members
    MiddlewareCore.Next
    Namespace: Cuemon.AspNetCore
    Assembly: Cuemon.AspNetCore.dll
    Syntax
    public abstract class Middleware : MiddlewareCore

    Constructors

    | Improve this Doc

    Middleware(RequestDelegate)

    Initializes a new instance of the Middleware class.

    Declaration
    protected Middleware(RequestDelegate next)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.RequestDelegate next

    The delegate of the request pipeline to invoke.

    Methods

    | Improve this Doc

    InvokeAsync(HttpContext)

    Executes the Middleware.

    Declaration
    public abstract Task InvokeAsync(HttpContext context)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.HttpContext context

    The context of the current request.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A task that represents the execution of this middleware.

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX