Configuration

Web.config Configuration

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 KeyDescriptionDefault
AjaxUploader:UploadPathDirectory where files are saved~/uploads
AjaxUploader:MaxFileSizeMax file size in bytes10 MB
AjaxUploader:AllowedExtensionsComma-separated allowed file extensionsAll
AjaxUploader:ChunkSizeChunk size for chunked uploads2 MB