Using the .NET3 examples

The .NET3 SDK examples provide sample code that performs all of the most common tasks you will perform while writing an adapter with the SDK.

The examples progress from simple, basic tasks to more complicated implementations. Your best path for learning the .NET3 SDK is to trace the source code of each example before executing it, using the reference documentation (net3/doc/Documentation.chm) for syntax and usage reference.

As you examine and run the examples, read the embedded comments for additional information. A description of each example generally begins with the comments in the RunExample routine and frequently begins with the words "The core of the example starts here."

Most of the examples use the same internal CCL query module mimicking temperature readings from sensors at different locations.

In order to run the examples, copy the three .dll files from net3 to net3/examples. Every example, with one exception, requires you to identify the location of the Sybase CEP compiler by setting a value for the variables. This compiler is located in bin/c8_compiler under your Sybase CEP Studio or Sybase CEP Server installation.