CoreUpload
Search Results for

    Show / Hide Table of Contents

    Class UploadMiddleware

    Middleware that removes the ASP.NET Core request body size limit for CoreUpload endpoint requests.

    Inheritance
    object
    UploadMiddleware
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CoreUpload.Middleware
    Assembly: CoreUpload.dll
    Syntax
    public class UploadMiddleware

    Constructors

    UploadMiddleware(RequestDelegate, IOptions<CoreUploadOptions>)

    Declaration
    public UploadMiddleware(RequestDelegate next, IOptions<CoreUploadOptions> options)
    Parameters
    Type Name Description
    RequestDelegate next
    IOptions<CoreUploadOptions> options

    Methods

    InvokeAsync(HttpContext)

    Invokes the next middleware after adjusting request-size limits for the configured upload route prefix.

    Declaration
    public Task InvokeAsync(HttpContext context)
    Parameters
    Type Name Description
    HttpContext context
    Returns
    Type Description
    Task
    In this article
    Back to top CoreUpload 5.0 API ReferenceUploader family: AjaxUploader, CoreUpload, MultipleUpload, ASPUploader, and PHP File Uploader.