Quando si esegue un'operazione di scrittura con AllowWriteStreamBuffering impostato su false, è necessario impostare ContentLength su un numero non negativo oppure impostare SendChunked su true.
Click to search this error in Google
English version
When performing a write operation with AllowWriteStreamBuffering set to false, you must either set ContentLength to a non-negative number or set SendChunked to true.