-
Notifications
You must be signed in to change notification settings - Fork 157
Setup
The Backload. component has some features that simplify the setup process, e.g. bundeling and zero configuration (see Example 01). Bundeling is a common task in ASP.NET MVC and you should be familiar with it. Zero configuration means, that any setting has a default value, so if you are happy with the defaults, you do not have to make any setting and you do not even have to touch the web.config file at all. To get some basic knowledge on this process you may want to look through the examples 1 to 3.
Setting up a file upload system consists of two parts: the client side and the server side part. The Backload. component is the server side part. Setting up Backload. is straightforward: Reference the Backload. assembly, prepare the web.config and make your settings. Also, make sure you have write permissions to the upload folder (Default: ~/files). The client side part depends on the client side component you use. Backload. can interact with (or adapted to) different client side plugins, but this version of Backload. uses the JQuery File Upload Plugin. For more information on the client part, consult its project pages.
The basic setup process is described in example 01. Configuration of the Backload. component within the web.config file is shown in example 02. Using an external config file in order to keep the web.config file clean is described in example 03.