.NET Framework Overview


LINK2i package is designed to operate in .NET Framework environments. It allow you to develop applications in C#.NET or VB.NET from Visual Studio IDE using ASP.NET Framework in Webform or Winform mode.

Implementation in Visual Studio

Instanciate LINK2i

To implement LINK2i in Visual Studio and be fully operational, you must follow configuration steps (see Install LINK2i) on both targeted IBM i and your Windows environment.
The following references are necessary to run LINK2i in .NET Framework environments using Visual Studio:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

Imports System.Data
Imports System.Runtime.Serialization.Formatters.Binary
Imports System.Runtime.Serialization
Imports System.IO
Imports System.Xml.Serialization
Imports System.Web.Services

To start programming with LINK2i, instantiate it and start using LINK2i functions in .NET Framework environments :

Link2iForCloud_V6.Link2i.Link2iV6 link2i = new Link2iForCloud_V6.Link2i.Link2iV6();

Dim link2i As New Link2iForCloud_V6.Link2i.Link2iV6

See also: