Upload large files

Overview

Use this article to configure your Sitefinity CMS and ASP.NET Core Renderer to be able to upload large files, if needed.

IIS hosting

If you host both Sitefinity CMS and the Renderer application on the IIS, you must add the following configuration to the web.config files of both projects:

For more information, see Microsoft's documentation » IIS.

Standalone Renderer application

If you are running the ASP.NET Core Renderer as a standalone application for testing purposes, you can configure the maximum file size limitation.
For more information, see Microsoft's documentation » Kestrel maximum request body size.

In addition, add the following code in the Program.cs file of the Renderer application:
builder.Services.Configure<IISServerOptions>(options =>
{options.MaxRequestBodySize = int.MaxValue;});

Upload large files in Sitefinity CMS

For uploading large files in the CMS, you must add the following configuration to the web.config:

NOTE: Replace SandboxWebApp.dll is the name of the Renderer .dll.

Upload large files in forms

To upload large files through forms, you must add the following configuration to the web.config of the CMS:

NOTE: Replace SandboxWebApp.dll is the name of the Renderer .dll.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?