Mvc icon indicating copy to clipboard operation
Mvc copied to clipboard

Create a filter/sample that shows how to configure form size limits

Open rynowak opened this issue 10 years ago • 3 comments

We want an example of a filter that shows how to configure the limits used to read the form (by replacing FormFeature). This should be an IAuthorizationFilter configured to run before antiforgery.

See aspnet/Mvc#4533 for more information

rynowak avatar Apr 26 '16 18:04 rynowak

86147eda46a476b8acc409df0eaa9b0eca730e94

kichalla avatar May 25 '16 18:05 kichalla

Has this sample been published anywhere??

M-Curtis avatar Dec 02 '16 14:12 M-Curtis

@M-Curtis it's located here - https://github.com/aspnet/Entropy/blob/dev/samples/Mvc.FileUpload/Controllers/RequestFormLimitsController.cs

pranavkm avatar Dec 04 '16 15:12 pranavkm