Project and Template Files

The following table contains a list of the project types that can be created in a standard DCS Software Factory solution, and a description of the purpose of each project type.

Project

Purpose

BLCategory

Creates category workflow-based operations.

BLCategoryOneWay

Creates category workflow-based operations that do not return a response.

BLCategoryState

Creates category workflow-based operations that enable business logic to be implemented in a state machine workflow environment.

BLSpecific

Creates specific, transparent, and conversational workflow-based operations.

Messages

Creates request, response, error, and exception message classes that are used to pass information between client applications and services.

Stub

Creates the service contract for a service.

Tests

Implements unit tests.

WFTask

Creates the workflow tasks that implement a service contract.


The following table contains a list of the T4 templates files contained in the DCS Software Factory, and a brief description of the purpose of each file.

T4 Template

Purpose

BLCategory\CategoryWorkflow.cs.t4

Creates a category workflow operation for use in different project types.

BLCategory\CategoryWorkflow.Designer.cs.t4

Creates the code-behind for the design view of the category workflow operation, for use in different project types.

BLCategory\CategoryWorkflowOneWay.cs.t4

Creates a one-way category workflow operation.

BLCategory\Envelope.cs.t4

Creates an envelope class to wrap around a category workflow operation.

BLCategory\EnvelopeOneWay.cs.t4

Creates an envelope class to wrap around a one-way category workflow operation.

BLCategory\StateCategoryWorkflow.cs.t4

Creates a state machine–based category workflow operation.

BLCategory\StateCategoryWorkflowDesigner.cs.t4

Creates the code-behind for the design view of the state machine–based category workflow operation.

BLCategory\StateEnvelope.cs.t4

Creates an envelope class to wrap around a state machine–based category workflow operation.

BLSpecific\ActivityWorkflow.cs.t4

Creates a single-call workflow operation.

BLSpecific\ActivityWorkflow.Designer.cs.t4

Creates the code-behind for the design view of the single-call workflow operation.

BLSpecific\BaseErrorClass.cs.t4

Creates a class for handling errors that occur during the execution of a task in a BLSpecific project.

BLSpecific\BaseExceptionClass.cs.t4

Creates a class for handling exceptions that occur during the execution of a task in a BLSpecific project.

BLSpecific\BaseRequestClass.cs.t4

Creates a request class.

BLSpecific\BaseResponseClass.cs.t4

Creates a response class.

BLSpecific\CategoryWorkflow.cs.t4

Creates a category workflow operation.

BLSpecific\ConversationalEventSettings.cs.t4

Creates the configuration for the events in a conversational workflow.

BLSpecific\Envelope.cs.t4

Creates an envelope class to wrap around an activity workflow operation.

BLSpecific\EnvelopeNotificationInfo.cs.t4

Creates a notification information configuration.

BLSpecific\EnvelopeSendNotificationsConfiguration.cs.t4

Creates an envelope class to wrap around a send notifications configuration.

BLSpecific\ErrorClassDerived.cs.t4

Creates an error class that derives from another class.

BLSpecific\EventStateActivityStubOperationBehavior.cs.t4

Creates an event state activity stub operation implementation.

BLSpecific\EventStateActivityStubOperationContract.cs.t4

Creates an event state activity stub operation contract.

BLSpecific\ExceptionClassDerived.cs.t4

Creates an exception class that derives from another class.

BLSpecific\RequestClassDerived.cs.t4

Creates a request class that derives from another class.

BLSpecific\ResponseClassDerived.cs.t4

Creates a response class that derives from another class.

BLSpecific\StateActivityStubOperationBehavior.cs.t4

Creates a state activity stub operation implementation.

BLSpecific\StateActivityStubOperationContract.cs.t4

Creates a state activity stub operation contract.

BLSpecific\StateActivityWorkflow.cs.t4

Creates a state activity workflow.

BLSpecific\StateCategoryWorkflow.cs.t4

Creates a state category workflow.

BLSpecific\StateEnvelope.cs.t4

Creates a state envelope.

BLSpecific\StateTaskMethodDirectCategory.cs.t4

Creates a state class to execute an operation.

BLSpecific\StubClass.cs.t4

Creates a stub class.

BLSpecific\StubOperationBehavior.cs.t4

Creates a stub operation implementation.

BLSpecific\StubOperationContract.cs.t4

Creates a stub operation contract.

BLSpecific\StubService.cs.t4

Creates a stub service.

BLSpecific\TaskMethodDirectCategory.cs.t4

Creates a class to execute an operation.

Generic\ClassDesigner.cs.t4

Creates a class diagram.

Generic\ClassDesignerWithCode.cs.t4

Creates a class diagram.

Generic\InterfaceDerived.cs.t4

Creates an interface derived from another interface.

Messages\BaseErrorClass.cs.t4

Creates a class for handling errors that occur during the execution of a task in a Messages project.

Messages\BaseExceptionClass.cs.t4

Creates a class for handling exceptions that occur during the execution of a task in a Messages project.

Messages\BaseMessageClass.cs.t4

Creates a message class in a Messages project.

Messages\BaseRequestClassForStateWF.cs.t4

Creates a Request for State Workflow class in a Messages project.

Test\App.config.t4

Creates an app.config file for the test project.

Test\Localtestrun8.0.testrunconfig.t4

Creates a test run configuration file for the local test run.

Test\TestUnit8.0.vsmdi.t4

Creates a vsmdi file that contains information about test lists and tests.

Test\TestUnit.cs.t4

Creates a test class for adding unit tests to.

WFTask\ActivityWorkflow.cs.t4

Creates a new activity workflow operation from an assembly containing a service in a WFTask project.

WFTask\ActivityWorkflow.Designer.cs.t4

Creates the code behind for the design view of the activity workflow operation in a WFTask project.

WFTask\CategoryWorkflow.cs.t4

Creates a category workflow operation from an assembly containing a service in a WFTask project.

WFTask\CategoryWorkflow.Designer.cs.t4

Creates the code-behind for the design view of the category workflow operation in a WFTask project.

WFTask\Envelope.cs.t4

Creates a task envelope for the operation to be implemented.

WFTask\TaskMethod.cs.t4

Creates a method to execute a task.


The following table shows the mapping of the T4 template files to the project types that use them.

Project

T4 Templates

BLCategory

BLCategory\CategoryWorkflow.cs.t4

BLCategory\CategoryWorkflow.Designer.cs.t4

BLCategory\CategoryWorkflowOneWay.cs.t4

BLCategory\Envelope.cs.t4

BLCategory\EnvelopeOneWay.cs.t4

BLCategory\StateCategoryWorkflow.cs.t4

BLCategory\StateCategoryWorkflowDesigner.cs.t4

BLCategory\StateEnvelope.cs.t4

BLSpecific

BLSpecific\ActivityWorkflow.cs.t4

BLSpecific\ActivityWorkflow.Designer.cs.t4

BLSpecific\BaseErrorClass.cs.t4

BLSpecific\BaseExceptionClass.cs.t4

BLSpecific\BaseRequestClass.cs.t4

BLSpecific\BaseResponseClass.cs.t4

BLSpecific\CategoryWorkflow.cs.t4

BLSpecific\ConversationalEventSettings.cs.t4

BLSpecific\Envelope.cs.t4

BLSpecific\EnvelopeNotificationInfo.cs.t4

BLSpecific\EnvelopeSendNotificationsConfiguration.cs.t4

BLSpecific\ErrorClassDerived.cs.t4

BLSpecific\EventStateActivityStubOperationBehavior.cs.t4

BLSpecific\EventStateActivityStubOperationContract.cs.t4

BLSpecific\ExceptionClassDerived.cs.t4

BLSpecific\RequestClassDerived.cs.t4

BLSpecific\ResponseClassDerived.cs.t4

BLSpecific\StateActivityStubOperationBehavior.cs.t4

BLSpecific\StateActivityStubOperationContract.cs.t4

BLSpecific\StateActivityWorkflow.cs.t4

BLSpecific\StateCategoryWorkflow.cs.t4

BLSpecific\StateEnvelope.cs.t4

BLSpecific\StateTaskMethodDirectCategory.cs.t4

BLSpecific\StubClass.cs.t4

BLSpecific\StubOperationBehavior.cs.t4

BLSpecific\StubOperationContract.cs.t4

BLSpecific\StubService.cs.t4

BLSpecific\TaskMethodDirectCategory.cs.t4

Generic\ClassDesigner.cs.t4

Generic\ClassDesignerWithCode.cs.t4

Generic\InterfaceDerived.cs.t4

Messages

Generic\ClassDesigner.cs.t4

Messages\BaseErrorClass.cs.t4

Messages\BaseExceptionClass.cs.t4

Messages\BaseMessageClass.cs.t4

Messages\BaseRequestClassForStateWF.cs.t4

Stub

BLSpecific\ErrorClassDerived.cs.t4

BLSpecific\EventStateActivityStubOperationContract.cs.t4

BLSpecific\EventStateActivityStubOperationBehavior.cs.t4

BLSpecific\ExceptionClassDerived.cs.t4

BLSpecific\RequestClassDerived.cs.t4

BLSpecific\ResponseClassDerived.cs.t4

BLSpecific\StateActivityStubOperationContract.cs.t4

BLSpecific\StateActivityStubOperationBehavior.cs.t4

BLSpecific\StubClass.cs.t4

BLSpecific\StubOperationContract.cs.t4

BLSpecific\StubOperationBehavior.cs.t4

Generic\ClassDesignerWithCode.cs.t4

Generic\InterfaceDerived.cs.t4

Test

Test\App.config.t4

Test\Localtestrun8.0.testrunconfig.t4

Test\TestUnit8.0.vsmdi.t4

Test\TestUnit.cs.t4

WFTask

WFTask\ActivityWorkflow.cs.t4

WFTask\ActivityWorkflow.Designer.cs.t4

WFTask\CategoryWorkflow.cs.t4

WFTask\CategoryWorkflow.Designer.cs.t4

WFTask\Envelope.cs.t4

WFTask\TaskMethod.cs.t4

Show: