This project is read-only.

How to use
Short version

1. Create the data table in a database with FILESTREAM enabled.


2. In your WCF application:
A. Install this package:
Install-Package jbt.CodeCandy.AsTrEAM.WCF -Pre

B. In web.config create a connection string what points to the database with filestreams:
<add name="jbt.CodeCandy.AsTrEAM.StreamManager.SqlServerStreamManager" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=Files;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False"/>

3. In your Web API project:
Install this package:
Install-Package jbt.CodeCandy.AsTrEAM.WebApi.WCF -Pre
The default route is: api/StreamManager
Can be modified by creating a custom route.

Enjoy.

Last edited Jul 20, 2014 at 11:23 PM by jbtibor, version 1