You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Currently, if a given action has a parameter of type Stream, model binding will throw unexpected exceptions due to the model metadata validation. Stream should be suppressed from model metadata validation. The default MvcOptions should include options.ModelMetadataDetailsProviders.Add(new SuppressChildValidationMetadataProvider(typeof(Stream)));
The text was updated successfully, but these errors were encountered:
Currently, if a given action has a parameter of type
Stream
, model binding will throw unexpected exceptions due to the model metadata validation.Stream
should be suppressed from model metadata validation. The defaultMvcOptions
should includeoptions.ModelMetadataDetailsProviders.Add(new SuppressChildValidationMetadataProvider(typeof(Stream)));
The text was updated successfully, but these errors were encountered: