Prerequisites - 6.4

DotNET

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > DotNET components
Data Quality and Preparation > Third-party systems > DotNET components
Design and Development > Third-party systems > DotNET components
EnrichPlatform
Talend Studio

Before replicating this scenario, you need first to build up your runtime environment.

  • Create the DLL to be loaded by tDotNETInstantiate

    This example class built into .NET reads as follows:

    using System;
    using System.Collections.Generic;
    using System.Text;
    
    
    namespace Test1
    {
        public class Class1
        {
            string s = null;
            public Class1(string s)
            {
                this.s = s;
            }
    
            public string getValue()
            {
                return "Return Value from Class1: " + s;
            }
    
        }
        }

    This class reads the input value and adds the text Return Value from Class1: in front of this value. It is compiled using the latest .NET.

  • Install the runtime DLL from the latest .NET. In this scenario, we use janet-win32.dll on Windows 32-bit version and place it in the System32 folder.

    Thus the runtime DLL is compatible with the DLL to be loaded.