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-helloworldand click Clone button - Open
HelloWorld.csand modify theIPandpasswordto be the correct values for your InterSystems IRIS instance.Portandusernameare 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.