I am developnig web portal for company that provide cloud solutions.Using this portal Customer(companies that are using vCloud services)create/modify service subscriptions,Seek support assustance,pay bills etc.
Now I want to retrieve Virtual Datacenter Resources.
Retrieve and Display the following Service Subscriptions like
-CPU/gHz
-RAM (GB)
-Application and clients
-Operating systems
Also from this portal(website),SuperAdmin(Super User) can create/modify new company(organization) and set up this.etc
Admin can set up his organization
-Super User is service provider
-Admin is Company/Organization user
I am using Asp.net in this project.
I am asking about How can I do this?
By vCloud Director API? (They are using VMWare vCloud Director)
Or by some SDK?
or any rest API is available to perform above task?
Thanks in Advance
There is a REST api that is available. You can found code that help you to use it on the vmware web site (you must get a free account).
You also must be award of the version of the vCloud you are using, the 1.0 isn't compatible with the 1.5 / 5.x
I also suggest you to use java, because there is lot more than just a REST api in java.
Without any help, using only the REST api was long. So I enjoyed using the java api-sdk.
There is a SDK for C# also. You can take from there already created function to access the cloudDirectory infrastructure.
https://www.vmware.com/support/pubs/vcd_pubs.html
Related
I have OWIN hosted ASP .NET Web API. Currently it uses Google to provide the identity of customers. I had followed this MS doc to implement it.
Now i am required to use company's Cloud Service which provides identity. Procedure with respect to user remains the same but he has to give his credentials of cloud service.
Since I can't use any inbuilt functions like app.UseGoogleAuthentication() as given in the docs, what should i opt to implement this?
Thanks in advance :)
I need to write a console application to retrieve domain shared contacts (eventually update, add or delete them, too).
What I found so far is "Google Domain Shared Contacts API" should do just that, but I am a bit clueless as where to start.
I don't know how to access this API in .NET and I haven't found any examples of such a code.
As far as I can see in the documentation, Domain Shared Contacts API is not currently included in the list of Supported Google APIs for .NET .
You may, however, check in Release Notes for the Google API Client Library for .NET for announcement or updates regarding this API.
If the time comes that Domain Shared Contacts API becomes supported, you may use the following references to get started:
Easily access Google APIs from .NET
GitHub post - google-api-dotnet-client
GitHub post - google-api-dotnet-client-samples
I managed to come up with an application that sends http requests to the API, however their documentation is terrible as it lacks complete description of how exactly the requests should look like and I had to experiment a bit.
I am looking to write an auth service using Web Api, and SQL Server for authenticating and authorizing users on my .net site, but ios and Android apps as well. I'm speculating that basic authentication over SSL is the easiest way to go, but I'm pretty new to this whole section of .net. I'm having trouble finding some clear tutorials that explain how to write such a service. Can anyone point me to some resources on how to do this? I'd appreciate it.
I think you need to look OAuth implementation in .NET.
Here is a video to give you some background on Web API security.
I also suggest getting a trial subscription to Pluralsight training and check out the courses on Web API security.
You may want to target the latest release of Web API 2.0 from Microsoft, it has the most features you'll need.
I think this might be useful for you:
http://www.asp.net/web-api/overview/security/authentication-and-authorization-in-aspnet-web-api
As we know that a new feature called virtual machine has been added in windows azure portal. but i want to create a virtual machine in windows azure programmatically with C# or . net. so can any one please help in this... which API shoud i use or yet the API for .net need to be published by azure people? please any one guide me to do this task.
You'll likely want to use Azure's REST Service Management APIs. For example, APIs for creating and managing VMs are here: Create Virtual Machine Deployment.
The overall API is documented here.
Since you're in .NET it seems like there would be service management APIs in the managed SDK, but I didn't see any service management API references there.
I just want to add something after the above answers, certainly you can create the Virtual Machines using Power Shell or C# and here is an example I found it might be interesting using the .Net API
http://code.msdn.microsoft.com/windowsazure/How-to-program-control-838bd90b
Currently there is only a REST API for creating Virtual Machines
This post shows an example of how to call the REST API in C# for creating a VM.
Remember that a Virtual Machine and a VMRole are different.
Apologies for not having seen this question earlier. The Microsoft Azure Management Libraries (MAML, for short) can provide this sort of .NET-based access to the Microsoft Azure management APIs. MAML is available as a series of NuGet packages, which were released officially just this week.
To accompany the release I've put out a blog post linking to a VS Extension I wrote for the //build/ conference. This extension provides a walk-thru via VS Project & Item templates, along with some code snippets, that do exactly what you're after - create a VM in Microsoft Azure from a Console Application.
I've written a few other posts on MAML that offer other pieces of guidance and information. Hope this helps!
Our organization uses IBM FileNet as document management system. FileNet P8 comes with a web services API which can be used in .net
Has anyone of you guys tried this? If yes could you please direct me to any resources to kick start?
Thanks a ton in advance.
http://publib.boulder.ibm.com/infocenter/p8docs/v4r5m1/index.jsp?topic=/com.ibm.p8.doc/developer_help/content_engine_api/guide/gs_procedures.htm
The FileNet API comes in 5 flavors:
Java - jar reference, configure to use either http or iiop transport
.NET - .NET dll reference, configure for http transport
CEWS - Content Engine Web Services. Use only if you can't use the Java or .NET API
CMIS - web service conforming to the CMIS spec
COM - semi-legacy, not discussed in the docs, but it does exist
Although the .NET API uses web services in the background, your .NET project reference is to FileNet.Api.dll, rather than directly to the WSDL. So if you're a .NET shop, you want the .NET API, not the "Web Services API" (2012-02-03 edit: unless you opt for CMIS)
The best place to get started is the "Bulk Loader Sample Code" here: http://www-01.ibm.com/support/docview.wss?rs=3278&uid=swg27010422
You're in the right place for documentation related to the P8 .Net API. The only other "kick-start" link I can think of is http://www.ecmplace.com/.
I know how to create a session using the Java API for the CE, but I'm sorry to say that I haven't done it with the .Net API. However, I'm fairly certain that you'll find helpful examples on the ECM Place forum.
HTH!
Tom Purl