Share via


Configuring Deployment Settings in the DCS Software Factory

To use the Deploy Assembly, you should configure the DCS Software Factory to deploy the service to the correct physical location and register the service at the correct URL. You can also modify other settings to control the tools used to deploy the service and the arguments that pass to those tools when the DCS Software Factory invokes them.

To access the DCS Software Factory configuration settings

  1. In Visual Studio, click Options on the Tools menu.
  2. In the Options dialog box, expand DCS, and then click ServicePublishing.

The Service Publishing pane contains settings that you can change to control how the DCS Software Factory deploys services. The following table describes these properties.

Property name

Description

DeploymentToolArguments

These are the arguments required by the deployment tool. The targetDir setting at the end of this string contains the physical path of the virtual Web application that you configured to host the DCS service. You should update this to match the required location.

DeploymentToolFile

A string containing the path of the deployment tool file that the DCS Software Factory should use to deploy the service. By default, this points to the ServicePublishingTool.exe file provided with DCS. For more information, see The DCS Service Publishing Utility

Discovery

A Boolean value to determine whether the DCS service should automatically register with the Discovery Service. If you want to manually manage discovery, set this to False and then ignore the rest of this section.

DiscoveryArguments

A string containing the arguments that the tool requires to register the service with the Discovery Service. This string captures the values of the subsequent properties in the correct order; in the majority of cases, it should not be changed.

ServiceModelConfigFile

A string containing the location of the service model configuration tool.

For more information about the ServiceModelConfig utility, see The DCS ServiceModelConfig Utility.

ServiceModelRegFile

A string containing the location of the service model registration tool.

For more information about the ServiceModelReg utility, see The DCS ServiceModelReg Utility.

ServiceURL

The URL of the Web application that you created to host the DCS service.

Proxy

A Boolean value to determine whether the DCS Software Factory should create a proxy for the service. If you want to manually manage proxy generation, set this to False and then ignore the rest of this section. If you are deploying a transparent workflow implementation, you should disable proxy generation to resolve the error message that occurs when deploying transparent processes.

ProxyBuilderArguments

A string containing the arguments that the tool requires to build the service proxy class. This string captures the values of the subsequent properties in the correct order; in the majority of cases, it should not be changed.

ProxyBuilderFile

A string containing the location of the proxy generation tool.

For more information about the ProxyBuilder utility, see The DCS ProxyBuilder Utility.