Use this article to configure your Sitefinity CMS and ASP.NET Core Renderer to be able to upload large files, if needed.
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:
web.config
For more information, see Microsoft's documentation » IIS.
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;});
Program.cs
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.
SandboxWebApp.dll
.dll
To upload large files through forms, you must add the following configuration to the web.config of the CMS:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
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.
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.
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.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important