06 Maret 2012 6:48
I am trying to create a hosted service in the Azure using Management APIs from .Net. what is the detailed procedure for creating the hosted service. Assuming that I have a valid certificate , with the SubsriptionID,type of the role, number of instances as the parameters I need to create a hosted service and should be able to deploy it successfully on the Azure through coding.
Any pointers in this regard, Please help me out.
06 Maret 2012 9:30
What you will need to do is write a wrapper around Service Management REST API. Please refer to the API documentation for Create deployment here: http://msdn.microsoft.com/en-us/library/windowsazure/ee460813.aspx.
To write a wrapper, you may find the following blog posts by Neil useful:
Service Management API in Windows Azure: http://convective.wordpress.com/2009/12/19/service-management-api-in-windows-azure/
Creating a Windows Azure hosted service: http://convective.wordpress.com/2011/08/29/creating-a-windows-azure-hosted-service/
Since there have been some new releases for Service Management API, I would recommend that you go through the REST API documentation thoroughly. However overall concepts of writing the wrappers are still the same and Neil's posts would certainly help you there.
Hope this helps.
- Ditandai sebagai Jawaban oleh Arwind - MSFTModerator 14 Maret 2012 3:16
07 Maret 2012 10:12
Thanks for your valuable reply. It helped me to gain some knowledge.