In this brief documentation of AsposeQuickStart application, you'll find all the information required to setup and run the sample application.

Project Structure

The first step is to download the application. You can get the latest version from the downloads tab.
The Zip file contains two folders named Database and AsposeQuickStart. Unzip these folders on your hard drive.
The Database folder contains the database file DocumentStore.mdf. AsposeQuickStart folder contains the source
code of the sample application.

Code Structure

This sample contains the following classes:
  • Program.cs: The starting point of the application. All the initialization work and calls to other methods are made from this class.
  • DocumentType.cs: This is an enumeration which contains all the documentation types supported by this sample application for testing purposes.
  • Settings.cs: The generic properties and methods are placed in this class.
  • AsposeLicense.cs: This class contains the code to set licenses of Aspose components.
  • DatabaseManager.css: This class provides methods to interact with database.
  • AsposeFileExpert.css: The code related to Aspose components for processing various files is placed in this class.
You can also browse the source code.

Setup Project

This section provides information about setting up the application on your computer.

Setup Application

Copy AsposeQuickStart folder on your hard drive and open AsposeQuickStart solution in Visual Studio 2005.

Setup Database

Attach the DocumentStore.mdf file from the Database folder to SQL Server 2005 or above.

Setup Folders

This sample requires two folders named File and Log to save output and log files respectively. These folders are placed
in a parent folder named Data. Currently these folders are placed in Debug\Bin folder of the application and accessed using

If you do not want to change the location of these folders then you do not need to change any thing. However, if you want to
place these folders somewhere else then you can change the paths accordingly in the Settings.cs class. You do not need to create
Exceptions.log file, as it is created by the application as and when required. However, if there are some errors, you can find the
exception details in this file.

Setup License

  • No License: If you do not have license for Aspose components, you can comment the code which sets the license at the start of Program.cs file.
  • License: If you have a valid license file then place it in some folder and then set the path in AsposeLicense.cs file accordingly.
  • Temporary License: If you don't have a valid license but want to test the application without any limitations then you can get a temporary license.

Setup Aspose Components

You can either download Aspose.Total for .NET if you want to test all the components, or download individual components if you want to work with some specific file formats.

Currently the sample application uses following Aspose components:

You need to add reference to the .NET 2.0 version of the above components in the sample application before building and testing it.

Last edited Sep 30, 2011 at 2:00 PM by shahzad_aspose, version 44


No comments yet.