Currently the upload service allow files that has 25MB size or less.
For now I have find a solution that is specific hosting type, i.e it works on Kestrel and not on IIS or works on IIS but not on Kestrel.
The solution that is not depending on hosting application.