Database Setup
The database can be automatically provisioned by the deployment batch file in the Database project (build.cmd)
The command file takes two arguments, the database server name to connect to and the database to populate. If we wanted to connect to the server called BackgroundMotion and populate the database called BackgroundMotionDB we would call the command as shown below;

Web Server (IIS)
BackgroundMotion has been developed and tested under IIS versions 5.1, 6.0 and 7.0.
To host BackgroundMotion using Microsoft Internet Information Services (IIS), create a new website and set the the home directory to point to Trunk\Src\Clients\Website in the directory in which the source code resides.
Enable the following settings on the website to complete the installation:
- ASP.NET 2.0 must be selected
- Allow anonymous access
- The extension .svc should be mapped to the ASP.NET ISAPI filter
Note: You dont not need to host the site under IIS if you only want to run the solution in a development mode. You can use the integrated web server to run the solution.
Web Configuration
To configure the solution, update the following configuration entries in the web.config file.
<smtpMailSender>
<Host>[outbound mail server]</Host>
<RecipientAddress>[recipient for email]</RecipientAddress>
</smtpMailSender>
The connection string to the database can be configured in the ConnectionStrings section:
<connectionStrings>
<add name="BackgroundMotionDB"
providerName="System.Data.SqlClient"
connectionString="[connection string]"/>
</connectionStrings>