This article discusses the multipart/form-data format, how to send JSON and binary data as multipart/form-data, and how to read multipart/form-data using MultipartReader in ASP.NET Core. It also explores a method to simplify reading the request body using the IFormFile mechanism by including a filename in the Content-Disposition.
Table of contents
What is multipart/form-data ?Sending JSON and binary data as multipart/form-dataDifficulties reading complex, non-file, multipart/form-data in ASP.NET CoreManually reading multipart/form-data with MultipartReaderTweaking the multipart/form-data request to keep ASP.NET Core happySummarySort: