Each service assembly must be explicitly loaded by the Dream Host service.  These assemblies can be loaded in one of two ways: manually with an action command in the startup script, or automatically by being placed in the services folder.

Manual registration

To manually load an assembly, add the following command for each assembly to the beginning of your startup script.

<action verb="POST" path="/host/load?name=MyService" />

Note that for this command to succeed, the MyService assembly must either be in the same folder as the Dream host application or in the GAC.

Automatic registration

To automatically load an assembly, create a services folder in the Dream host application folder.  Now copy all service assemblies to this folder and make sure their dependencies are either located in the same folder, in the Dream host application folder, or in the GAC.  The Dream Host service will now automatically load and register all service assemblies in the services folder.

Tag page
You must login to post a comment.