Large file upload

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

https://github.com/ServiceStackApps/Imgur/blob/master/src/Imgur/Global.asax.cs#L53

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: http://stackoverflow.com/a/19629857/85785

1 Like