Search Results for

Show / Hide Table of Contents

# Class UploadMiddlewareExtensions

Application-builder helpers for activating CoreUpload middleware.

##### Inheritance

object
UploadMiddlewareExtensions

##### 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 static class UploadMiddlewareExtensions

### Methods

#### UseCoreUpload(IApplicationBuilder)

Adds CoreUpload middleware to the request pipeline. The middleware relaxes request-size limits for the configured upload route prefix.

##### Declaration

    public static IApplicationBuilder UseCoreUpload(this IApplicationBuilder app)

##### Parameters

Type | Name | Description
--- | --- | ---
IApplicationBuilder | app | The application pipeline.

##### Returns

Type | Description
--- | ---
IApplicationBuilder | The same application builder so calls can be chained.