Large file upload

Hi, I’ve developed an “upload service” following this example:

Everything works fine except when I try to upload file larger than 4 mb; I get this error back:

Response StatusError CodeHttpExceptionMessageMaximum request length exceeded.

Is there something in ServiceStack to bypass this limit?

There are no limits built into ServiceStack, any limits you exceed are validated by IIS/ASP.NET.
See this answer on details how to change ASP.NET’s limits:

1 Like