File Uploading Support in a Web Farm and Web Garden
- 3 min to read
This topic describes how to implement file upload functionality in a clustered web environment (also known as a Web Farm or a Web Garden).
Web Farm and Web Garden technologies allow you to run a web application on multiple web servers (Web Farm) or on the same server but in different processes. Each process is executed using its own processor (Web Garden). This is specified by the Internet Information Services (IIS) settings of the server host on which you deploy your web application.
To implement file upload on a Web Farm or a Web Garden, customize the following settings.
The machineKey element in the web.config file should have the same settings for all websites in a Web Farm or Web Garden. Refer to the How To: Configure MachineKey in ASP.NET 2.0 topic for more information.
Web Control Settings
If an instance of each website on a Web Farm/Web Garden uses an individual file system, utilize the following options to specify the parts of a file system that are shared for all instances of a website in a clustered web environment.
Configure a temporary folder to store uploaded files via the settings listed below.
Use the following settings to configure a folder that is used to store files saved to the server after upload.
Customize the following properties if the ASPxHtmlEditorUploadSettingsBase.UploadStorage property is set to "FileSystem" for a specific dialog.