Sorry for the confusion John. I guess I'll need to get around to updating all the samples in the SDK to use the iControl Assembly.
As for getting started, Here's the following steps.
1. Add the iControl Assembly as a reference in your Visual Studio Project with the Add.Reference option and select browse and point it at the iControl.dll
2. Add References to the System.Web and System.Web.Services .NET assemblies in your project.
3. Create an iControl.Interfaces class and initialize it with the BIG-IP information.
4. Make iControl calls.
The following code will create an instance of the Interfaces class, initialize it, and make the iControl.LocalLBPool.get_list() method to return a list of Pools.
public void GetPools(String bigip, String username, String password)
{
iControl.Interfaces m_interfaces = new iControl.Interfaces();
if ( m_interfaces.initialize(bigip_address, 443, username, password) )
{
String [] pool_list = m_interfaces.LocalLBPool.get_list();
Console.WriteLine("Available Pools...");
for(int i=0; i {
Console.WriteLine("[{0}] : {1}", i, pool_list[ i ]);
}
}
}
The Interfaces class has members for all of the iControl interfaces (ie. LocalLB.Pool, System.SystemInfo, etc.). You can access all the methods off of them.
If you would like to see what's going on inside the assembly, feel free to download the source and take a look. It's available on the iControl Assembly Labs page.
As for tutorials, I've focused primarily on PowerShell as of late but I can see I've let C slip. I'll work on getting some sample applications in C out in the near future.
In the mean time, if you get stuck, please feel free to post any questions and we'll do our best to help you out.
Cheers!
-Joe