Skip to content

FileUpload follow ups #25282

@pranavkm

Description

@pranavkm
  • Harden the documentation for IBrowserFile to make it clear that these properties are provided by the client and are untrusted
  • Do some prelimnary validation on IBrowserFile. For e.g. throw if File.Size is negative.
  • Consider renaming ToImageFileAsync -> RequestImageFileAsync
  • Add a InputFile.MaxFileSize = 15MB and a InputFile.MaxAllowedFiles = 3
  • Don't document samples with MemoryStream

Metadata

Metadata

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions