Configure AjaxUploader in your web.config with appSettings. Set default upload paths,
size limits, allowed extensions, and other server-side options.
<!-- web.config -->
<configuration>
<appSettings>
<add key="AjaxUploader:UploadPath" value="~/uploads" />
<add key="AjaxUploader:MaxFileSize" value="52428800" /> <!-- 50 MB -->
<add key="AjaxUploader:AllowedExtensions" value=".jpg,.png,.gif,.pdf,.docx,.xlsx" />
<add key="AjaxUploader:ChunkSize" value="2097152" /> <!-- 2 MB -->
</appSettings>
</configuration>
Try It
This uploader uses the server-configured defaults:
Drag & drop files here, or paste from clipboard
Available Options
| AppSetting Key | Description | Default |
AjaxUploader:UploadPath | Directory where files are saved | ~/uploads |
AjaxUploader:MaxFileSize | Max file size in bytes | 10 MB |
AjaxUploader:AllowedExtensions | Comma-separated allowed file extensions | All |
AjaxUploader:ChunkSize | Chunk size for chunked uploads | 2 MB |