Skip to end of metadata
Go to start of metadata

The following example shows how to configure the server-side upload handler in an ASP.NET web project.

Example

Description

UXFileUpload is a pure client upload control that runs on both Silverlight and WPF platform. To use a file upload control, you need a server that store the files being uploaded from the client. You can use any type of servers to use UXFileUpload, such as ASP.NET, PHP and more.

In addition to the client-side implementation, ClientUI also includes a built-in ASP.NET server upload handler to accept the file upload requests from the UXFileUpload control.

Code

Configuring the ASP.NET server upload handler is straightforward. The first step is adding the required server-side assemblies to your project reference listed below:

  • ISNet.dll
  • Intersoft.UXFileUpload.Server.dll

Both of the assemblies can be found in the Add References dialog box. Alternatively, you can also find them in the installation program files folder.

The final step is adding the handler registration in the web configuration file of the project. Open the web.config file and add the following key.

To register the HTTP handler for IIS 6.0, use the following code.

XAML

To register the HTTP handler for IIS 7 running in integrated mode, use the following code.

Web.config

The following example shows how to configure the server-side upload handler in an ASP.NET web project.

On this page:

Example

Description

UXFileUpload is a pure client upload control that runs on both Silverlight and WPF platform. To use a file upload control, you need a server that store the files being uploaded from the client. You can use any type of servers to use UXFileUpload, such as ASP.NET, PHP and more.

In addition to the client-side implementation, ClientUI also includes a built-in ASP.NET server upload handler to accept the file upload requests from the UXFileUpload control.

Code

Configuring the ASP.NET server upload handler is straightforward. The first step is adding the required server-side assemblies to your project reference listed below:

  • ISNet.dll
  • Intersoft.UXFileUpload.Server.dll

Both of the assemblies can be found in the Add References dialog box. Alternatively, you can also find them in the installation program files folder.

The final step is adding the handler registration in the web configuration file of the project. Open the web.config file and add the following key.

To register the HTTP handler for IIS 6.0, use the following code.

Web.config

To register the HTTP handler for IIS 7 running in integrated mode, use the following code.

Web.config