Getting Started with SlickUpload
The core of SlickUpload is the UploadManager control. It provides the user experience,
error handling, etc. To get started, first take a look at the UploadManager (C#)
or UploadManagerVB sample (VB.NET). These are simple samples that demonstrate how
to use the UploadManager control to let users upload files and then process those
files after the upload.
Documentation
You can find documentation online in the SlickUpload documentation section at krystalware.com.
Support
For support, post on the Krystalware support forum.
SlickUpload Package Contents
The SlickUpload package contains the following:
- /Bin – .NET 2.0 assembly
- /Bin-1.1 – .NET 1.1 assembly
- /Samples – .NET 2.0 samples
- /Samples-1.1 – .NET 1.1 samples
- SlickUploadFile.sql – SQL script to create the default file table for use
with the SqlClientUploadStreamProvider
- UploadStatusTable.sql – SQL script to create the upload status table for use
with the SqlClientStatusManager
Samples
For .NET 2.0 (VS.NET 2005/2008), accessing the samples is as simple as opening the
/Samples/Samples.sln file. Right-click the sample web site you want to run, select
"Set as StartUp Project". Then click Run.
You can also run the .NET 2.0 samples in IIS. Create a virtual directory for each
sample you want to run, and then browse to that virtual directory. Make sure you
create an application for the virtual directory and select .NET 2.0 in the ASP.NET
tab for that application in IIS Manager.
For .NET 1.1, perform the following steps for each sample you want to run:
- Create a virtual directory in IIS that points to the sample folder.
- Create an IIS application for the virtual directory.
- Go to the ASP.NET tab of the IIS application properties and ensure that .NET 1.1
is selected.
- Open the /Samples-1.1/Samples.sln file in VS.NET 2003.
- Open the project properties dialog for the sample.
- Go to Configuration Properties\Debugging.
- Set the following properties:
- Enable ASP.NET Debugging: True
- Debug Mode: URL
- Start URL: <the URL to the virtual directory>
- Right click the sample project.
- Click "Set as StartUp Project".
- Click Run.
Primary sample
- UploadManager – Demonstrates how to use the UploadManager control to perform
uploads.
Feature samples
These samples demonstrate specific features of SlickUpload. They are all built around
a simple upload form (not the UploadManager control) to reduce complexity, but can
easily be integrated with the UploadManager control in your project.
- FileNameGenerator – Generates server side filenames on the fly.
- SimpleUpload – Barebones file upload, no progress bar.
- SqlClientUploadStreamProvider – Streams files directly to a SQL database with
no filesystem access.
- UploadFileFilter [.NET 2.0 only] – Filters files as they are uploaded to allow
or deny an upload. .NET 1.1 version available upon request.
- UploadManagerCustom – Shows how to use a custom upload handler with the UploadManager
control.
- UploadRequestFilter [.NET 2.0] – Filters requests as they are recieved to
determine whether SlickUpload should handle a given request. .NET 1.1 version available
upon request.
- UploadStreamProvider – Demonstrates how to create a custom upload stream provider.
Streams uploaded files directly into a .zip file.