The Platform Sample package is a portable version of the Particular Service Platform which can be used to demonstrate the platform without installing it. This is the easiest way to experience the Particular Service Platform. It is also possible to include and show the platform in demos or samples.
The Platform Sample package includes instances of ServiceControl, ServiceControl Monitoring, and ServicePulse. They are all configured to use the Learning Transport. Other transports are not supported by the Platform Sample package. At this time, ServiceInsight is not included in the Platform Sample package.
In existing Visual Studio solution, the following steps are required:
- Add a new Console App project.
- Install the
- Add the following code to
The Platform Sample package performs the following when the Console App is started:
- Copies platform binaries into the project output directory.
- Finds available ports for all the platform tools.
- Launches ServiceControl and ServiceControl.Monitoring.
- Waits for the ServiceControl API to be responsive, which can take a while.
- Opens a browser window with ServicePulse.
PlatformLauncher. accepts some optional parameters.
By default, the console outputs of ServiceControl and ServiceControl.Monitoring are suppressed. To view them for debugging, or curiosity, specify:
Some samples benefit from opening ServicePulse with a specific view, rather than the dashboard.
For example, to open ServicePulse with the Monitoring view:
The message replay tutorial is a sample that uses the Platform Sample package to view and retry failed messages. It shows how the Platform Sample package works from within an existing Visual Studio solution.
To use ServiceInsight with the sample, download and install ServiceInsight. After starting ServiceInsight, connect to ServiceControl using the Endpoint Explorer at, for example,