Windows on the APIs – New Lab Available Now

Blog - Windows on the APIs

Table of Contents

In the past month or two we’ve published a couple of introductory labs. Based on PHP and Python, they’re a great intro into using the Nutanix APIs and can be found on the Nutanix Developer Portal Labs page. But … what if you aren’t a PHP or Python developer? We’ve just published a intro new lab that will appeal to the Windows developers out there. Based on Microsoft C# and Visual Studio Community Edition, you’ll start from a completely empty project and end up with a Windows Forms application that talks to the Nutanix REST APIs. It will demonstrate:

  • Code that integrates a C# Windows Forms app with the Nutanix REST APIs
  • A quick demo of a GET request, showing your Nutanix cluster’s name and version (API v2.0)
  • A demo of a POST request, listing all VMs on a cluster (API v3)

When all is said and done, the resulting application looks like this (click to see full size):

C# Windows Forms Lab – Form Layout

The lab is ready now and available here: C# API Lab. Go! 🙂

© 2024 Nutanix, Inc. All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. Certain information contained in this post may relate to or be based on studies, publications, surveys and other data obtained from third-party sources and our own internal estimates and research. While we believe these third-party studies, publications, surveys and other data are reliable as of the date of this post, they have not independently verified, and we make no representation as to the adequacy, fairness, accuracy, or completeness of any information obtained from third-party sources.