C#

JohnMcBride on February 16th, 2009

There might be a time in which you need to strongly name the VimServer.dll that gets created from the WSDL within the SDK. If you need help with that, check out a previous  post here I wont re-hash the previous article but will just focus on making the DLL strongly named. The first step is [...]

Continue reading about VMWare SDK HowTo: Making the VimService.dll strongly named.

If you are writing .NET code using the VMWare SDK, you already know that the ESX host its self has the set of web services installed on it that we use in order to interact with the VMWare system. One thing you might not know, is that if you have Virtual Center installed in your [...]

Continue reading about VMWare SDK HowTo: Determine if you are talking to a ESX Host or Virtual Center Server

This post is going to be about using simple object collectors to get a list of virtual machines on a given host. Now, there are a couple of ways to do this, namely using traversal objects, but for this post, we are going to keep it simple. We will get to the TraversalSpec object in [...]

Continue reading about Accessing the VMWare API to retrieve Virtual Machine Properties.

While writing some VMWare SDK/Web Services howto posts as well as some production code in C# I recently ran into an issue where the vimService object was taking upwards for 3 minutes to instantiate. I figured that I might have messed up on adding the web service reference, so I re-added the web service reference [...]

Continue reading about How to fix the slow load times when using the VMWare WebServices API in C#.

So I am trying to put together some short tutorials about using VMWare ESX Web Service together with .NET. These tutorials  are meant to be specific and pointed for a single item. So, on with the first posting for the ESX web Service API. Before you dig into the the code below, this code references [...]

Continue reading about VMWware SDK HowTo Series: Login to the ESX WebService from .NET (C#)

I recently had a requirement to extract some information from a InfoPath XML form stored in a SharePoint library and show it in an external application. The problem here was that we were using infopath forms services. and every time I tried to open up the XML file from code i would get a redirection [...]

Continue reading about Accessing Infopath Form XML in a Sharepoint Library from C#… noredirect=true is the key