{"id":730,"date":"2013-03-16T13:21:48","date_gmt":"2013-03-16T13:21:48","guid":{"rendered":"http:\/\/read.virtualizeplanet.com\/?p=730"},"modified":"2013-03-16T18:28:12","modified_gmt":"2013-03-16T18:28:12","slug":"my-first-vcloud-app-hello-org-part1","status":"publish","type":"post","link":"http:\/\/read.virtualizeplanet.com\/?p=730","title":{"rendered":"My first vCloud App &#8220;Hello Org&#8221; part#1"},"content":{"rendered":"<p>Last night I managed to get my first vCloud .net app working. To get started I took one of the simple examples contained with the vCloud .Net SDK and copied aspects of it test what could be done. I imported the 2 DLLs (<strong>VcloudSDK_V5_1.dll, VcloudRestSchema_V5_1.dll)<\/strong> as needed and added the correct the using statements<strong>:<\/strong><\/p>\n<pre name=\"code\" class=\"c-sharp\">\r\nusing System.Net;\r\nusing com.vmware.vcloud.sdk;\r\nusing com.vmware.vcloud.sdk.admin;\r\nusing com.vmware.vcloud.sdk.utility;\r\nusing com.vmware.vcloud.api.rest.schema;\r\nusing System.Security.Cryptography.X509Certificates;\r\n<\/pre>\n<p>After handling the certificate issue next I initiated a connection but received a failure:<\/p>\n<p><!--more--><\/p>\n<p><strong>Could not load file or assembly &#8216;System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; or one of its dependencies. The system cannot find the file specified.<!--more--><\/strong><\/p>\n<p>After messing around with .Net versions I decided to switch from using Visual Studio 2010 to 2012. This seems to cured my program. In a follow up post I will walk through how to do what I achieved with this app step-by-step.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night I managed to get my first vCloud .net app working. To get started I took one of the simple examples contained with the vCloud .Net SDK and copied aspects of it test what could be done. I imported the 2 DLLs (VcloudSDK_V5_1.dll, VcloudRestSchema_V5_1.dll) as needed and added the correct the using statements: using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,4],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","hentry","category-vcloud","category-vmware"],"aioseo_notices":[],"views":3940,"_links":{"self":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=730"}],"version-history":[{"count":16,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":746,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=\/wp\/v2\/posts\/730\/revisions\/746"}],"wp:attachment":[{"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/read.virtualizeplanet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}