You don't have a beta account with SSDS, but you'd like to use the latest LitwareHR anyway

Well, too bad...No, seriously now, as I mentioned in a previous post, we developed a "mock" (but fully functional for LitwareHR's purposes) offline SSDS proxy to enable development independently from the live SSDS service. The offline proxy is included in LitwareHR latest release, but by default, online SSDS is configured. The offline database is also installed albeit it is empty.

Here's what you need to do:

  1. Insert LitwareHR metadata into the offline database (named OfflineSitka):
    1. For convenience you can use this file or alternatively you can:
    2. Run the ShouldPerformDeploymentProvisioning test in DeploymentProvisioningFixture (you will find this in LitwareHR.Portfolio.Datamodel.Sitka.Test project). You need to change the config file for this to work (see below).
  2. Configure the web services hosts to use the offline proxy:
    1. Open the web.config files on each of the Host projects under [Install Folder]\bin:

image

 

Comment out the live proxy with the offline (the setting key is "SitkaProxy"):

image

 

If you want to run the tests against the offline database, you need to do the same with the tests app.config files.

When you get your beta SSDS account, you can switch back to the live proxy and you should be ready to go.

Feedback is most welcome!