Automating the creation of hosted service in Azure from .net
-
6 марта 2012 г. 6: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
Все ответы
-
6 марта 2012 г. 9: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 14 марта 2012 г. 3:16
-
7 марта 2012 г. 10:12
Hi Gaurav,
Thanks for your valuable reply. It helped me to gain some knowledge.

