The Well-Enabled Services (WES) Generator makes use of a utility called the Service Generator (ServiceGenerator.exe). You must deploy the Connected Services Framework Integration Kit in order to install the Service Generator. The default location of this tool is \Program Files\Microsoft Hosting\Development\References\CSF.
You can use the Service Generator from a command prompt. This topic describes the syntax and arguments for using this tool.
ServiceGenerator.exe /t:<wes|aspnet> /s:<MPFNamespaceFile> /n:<codeNamespace> /c:<className> /i:<imports>[,imports,...] [/o:<targetDir>] [/v:<off|error|info|verbose] [/p:<Csharp|VisualBasic]
Argument | Use | Description |
---|---|---|
/t | Required |
|
/s | Required | Source - The path of the Microsoft Provisioning System (MPS) namespace file that contains the provisioning API and XML Schema Definitions that will provide the basis for the generated service. |
/n | Required | Namespace - The .NET namespace for the generated service. |
/c | Required | Class - The class name for the generated service. |
/i | Required | Imports - One or more namespaces that will be declared as import or using statements depending on the output language. Supplied as a comma-delimited list. |
/o | Optional | Output Directory - Output directory for generated files. If not supplied the current directory of execution is used. |
/v | Optional |
|
/p | Optional |
|