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.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. 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?