Writing code for a .NETCompute node

Create code for message flows containing a .NETCompute node by double-clicking the node to start Microsoft Visual Studio.

Before you begin

  • Install Microsoft Visual Studio 2019.
  • Create a message flow that contains a .NETCompute node.
Tip: If the IBM® App Connect Enterprise Toolkit is installed after Microsoft Visual Studio, the integration node Project templates will be automatically installed ready for you to use. However, if the IBM App Connect Enterprise Toolkit is installed first, you must manually install the Microsoft Visual Studio templates. This installation can be achieved by running the file IBM.Broker.DotNet.vsix and stepping through the wizard (accepting the license file as part of the process). If the default installation location was used for IBM App Connect Enterprise Toolkit, the file can be found at the location C:\Program Files\IBM\ACE\13.0.n.0\tools\iibt.

About this task

You write and compile your code in Microsoft Visual Studio. The following IBM App Connect Enterprise templates are provided to get you started in C#, Visual F#, and Visual Basic:
  • Create an IBM Integration message. This class also provides a method to copy message headers from an incoming message.
  • Filter an IBM Integration message.
  • Modify an IBM Integration message.

For information about the .NET classes and methods that are supported in IBM App Connect Enterprise, see the .NET API documentation.

Procedure

  1. Double-click the .NETCompute node.
  2. In Microsoft Visual Studio, navigate to your project, and add the appropriate class from the IBM Integration templates.
  3. Expand the UserCode region, and write your code.
    Content assist is available in this region. Press Ctrl+Space to invoke it.
  4. Save the class and build the solution, making a note of the path to the assembled file.

What to do next

Associate your assembly with the .NETCompute node.