DisableRequestSizeLimitFilter DisableRequestSizeLimitFilter DisableRequestSizeLimitFilter Class

Definition

A filter that sets MaxRequestBodySize to null.

public class DisableRequestSizeLimitFilter : Microsoft.AspNetCore.Mvc.Filters.IAuthorizationFilter, Microsoft.AspNetCore.Mvc.IRequestSizePolicy
type DisableRequestSizeLimitFilter = class
    interface IAuthorizationFilter
    interface IFilterMetadata
    interface IRequestSizePolicy
Public Class DisableRequestSizeLimitFilter
Implements IAuthorizationFilter, IRequestSizePolicy
Inheritance
DisableRequestSizeLimitFilterDisableRequestSizeLimitFilterDisableRequestSizeLimitFilter
Implements

Constructors

DisableRequestSizeLimitFilter(ILoggerFactory) DisableRequestSizeLimitFilter(ILoggerFactory) DisableRequestSizeLimitFilter(ILoggerFactory)

Creates a new instance of DisableRequestSizeLimitFilter.

Methods

OnAuthorization(AuthorizationFilterContext) OnAuthorization(AuthorizationFilterContext) OnAuthorization(AuthorizationFilterContext)

Sets the MaxRequestBodySize to null.

Applies to