DisableRequestSizeLimitResourceFilter DisableRequestSizeLimitResourceFilter DisableRequestSizeLimitResourceFilter Class

Definition

A filter that sets MaxRequestBodySize to null.

public class DisableRequestSizeLimitResourceFilter : Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.IRequestSizePolicy
type DisableRequestSizeLimitResourceFilter = class
    interface IResourceFilter
    interface IFilterMetadata
    interface IRequestSizePolicy
Public Class DisableRequestSizeLimitResourceFilter
Implements IRequestSizePolicy, IResourceFilter
Inheritance
DisableRequestSizeLimitResourceFilterDisableRequestSizeLimitResourceFilterDisableRequestSizeLimitResourceFilter
Implements

Constructors

DisableRequestSizeLimitResourceFilter(ILoggerFactory) DisableRequestSizeLimitResourceFilter(ILoggerFactory) DisableRequestSizeLimitResourceFilter(ILoggerFactory)

Creates a new instance of DisableRequestSizeLimitResourceFilter.

Properties

Order Order Order

Methods

OnResourceExecuted(ResourceExecutedContext) OnResourceExecuted(ResourceExecutedContext) OnResourceExecuted(ResourceExecutedContext)
OnResourceExecuting(ResourceExecutingContext) OnResourceExecuting(ResourceExecutingContext) OnResourceExecuting(ResourceExecutingContext)

Sets the MaxRequestBodySize to null.

Applies to