
FabrikamShipping SaaS Demo – Source Code
Welcome to the source code home of the FabrikamShipping SaaS demo!
FabrikamShipping demonstrates many important aspects involved in architecting and developing subscription-based, multi-tenant applications. A fully functional instance of the demo is available online at
www.fabrikamshipping.com.
This package contains all the source code of the demo scenario, including the parts that are not directly visible online (such as the ISV admin console, the provisioning process and so on). Certain parts of the source, such as the automated provisioning, are present but non-functional in the local test environment.
The solution can be run in the Windows Azure DevFabric: all the demo consoles (subscription, ISV management, customer management consoles) will be available, together with two test tenant instances (AdventureWorks demonstrating an Enterprise Edition instance, Contoso showing a Small Business instance).
■Run the Setup.cmd to complete the installation wizard and install prerequisites if needed.
■Once that finished, launch the utility SelfSTS.exe from C:\FabrikamShippingSaaS\assets\SelfSTS\SelfSTS\bin\Release and press the Start button.
■Run Visual Studio 2010 as Administrator, open the FabrikamShipping.sln solution in C:\FabrikamShippingSaaS\code and run it.
Known Issues
■Issue with PathTooLong.
DevFabric generates a package in a temporary directory of your profile. Since FabrikamShipping has long names in the projects, sometimes you might get an exception when running it. In order to fix this, create a new User Environment Variable (Start > Control Panel > System > Advanced system settings > Environment variables) and set the Variable Name = "
CSRUNSTATE_DIRECTORY" to "C:\WAZ" (without the quotes). Create the folder C:\WAZ if not exists. This will tell DevFabric to use that folder in the packaging process (which is shorter than the TEMP path in the profile).