To connect Visual Studio to InterSystems IRIS™, use the following steps, logging into GitHub if necessary.
First, create the sample solution.
-
Select View > Team Explorer.
-
In the Team Explorer – Connect pane, select Local Git Repositories > Clone.
-
Copy and paste https://github.com/intersystems/Samples-dotnet-helloworld into the URL box, and click Clone.
Next, update the sample code and run it.
-
Double-click HelloWorld.sln to see the files in the solution, then open helloworld.cs.
-
Configure the username, password, IP address, and port for your instance (see InterSystems IRIS Connection Information) using the variable declarations.
-
Press the F5 key to run the program.
-
A command window displays the following message:
Hello World! You have successfully connected to InterSystems IRIS. Press any key to continue.