Simple hello world code to show a .NET connection to InterSystems IRIS
We recommend to run this sample .NET code with Microsoft Visual Studio.
- First, launch the Microsoft Visual Studio.
- Select View > Team Explorer
- Under the Local Git Repository, select Clone command
- Enter
https://github.com/intersystems/Samples-dotnet-helloworld
and click Clone button - Open
HelloWorld.cs
and modify theIP
andpassword
to be the correct values for your InterSystems IRIS instance.Port
andusername
are most likely the defaults but you can verify those as well. - Run the code and verify you see "Hello World! You have successfully connected to InterSystems IRIS. Press any key to continue." as the output.