Once you have finished defining a remote environment for your application, you can use Visual Studio to create the application assembly. Host Integration Server provides a variety of wizards and tools to help you in this process:
-
Create a Host File project.
-
Add one or more .NET client libraries to the project that will contain your application.
-
Create the interfaces for your application using Host Integration Server Designer.
HIS Designer enables you to create interfaces that represent data and methods native to your host environment. By programming towards these interfaces, you can pass information and commands through Host Integration Server and onto the mainframe.
After you create the assembly, you can deploy your assembly to your local computer and test the interfaces against your code.

To create an application assembly that uses the Managed Provider for Host Files
-
Start Visual Studio.
-
Click File, then New, and then click Project.
-
In the New Project dialog box, in the Project types: pane, click on Host Integration Projects.
-
In the Templates pane, click Host File Project.
-
In the Name field, type the name of your project.
-
In the Location field, type the location to save your project, and then click OK.
This creates a new TI project.

To add an assembly to your project
-
Click Project, and then click Add .NET Client Library.
The Managed Provider for Host Files supports .NET only.
-
On the Add New Item dialog box, in the Templates pane, confirm that .NET Client Library is highlighted.
-
In the Name: field, type the name of the assembly, and then click Add.
-
On the Welcome to the .NET Client Library Wizard page, click Next.
-
On the Remote Environment page, select the information that describes the remote environment your application will interact with, and then click Next.
Visual Studio uses this information to optimize your application for the specified remote environment. In contrast, the information you entered in Transaction Manager is used by Host Integration Server when making a connection.
-
On the Completing the .NET Client Library Wizard page, confirm that the displayed settings are correct, and then click Create.

To define interfaces using the HIS Designer
-
If you have a Host Definition file (.hcd) file available, you can use the Import COBOL Wizard or the Import RPG Wizard to define your interfaces.
For more information, see How to Import COBOL into a TI Component.
-
If you have a previous .NET client library that you want to base your new object on, you can use the Import Library tool to import the library into your project.
For more information, see How to Import a TI Component.
-
If you want to manually create or modify the interface definitions, you can do so using the console tree of HIS Designer.
For more information, see Host Integration Server Designer.

See Also