Automating the creation of hosted service in Azure from .net
-
2012年3月6日 上午 06:48
Hi All,
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.
Regards,
Jyothi
所有回覆
-
2012年3月6日 上午 09:30
Hi,
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.
Thanks
Gaurav Mantri
Cerebrata Software
http://www.cerebrata.com
- 已標示為解答 Arwind - MSFTModerator 2012年3月14日 上午 03:16
-
2012年3月7日 上午 10:12
Hi Gaurav,
Thanks for your valuable reply. It helped me to gain some knowledge.

