Error in HTTP request, received HTTP status 413 (Request Entity Too Large)
Upload file 50MB https://techcommunity.microsoft.com/t5/iis-support-blog/solution-for-request-entity-too-large-error/ba-p/501134 https://www.inflectra.com/support/knowledgebase/kb306.aspx https://stackoverflow.com/questions/62502286/uploading-and-downloading-large-files-in-asp-net-core-3-1 我 Settern 3 個, 最後成功. 1, 2. Coding private const MaxFileSize = 10L * 1024L * 1024L * 1024L ; // 10GB, adjust to your need [ DisableFormValueModelBinding ] [ RequestSizeLimit(MaxFileSize) ] [ RequestFormLimits(MultipartBodyLengthLimit = MaxFileSize) ] public async Task ReceiveFile ( ) 3. Configuration Error