Tuesday, June 7, 2011

Things to keep in mind when developing application for Azure Cloud.


Things to keep in mind when developing application for Azure Cloud.

1) All Assesmbly Projects(Dlls) should be built with Platform targer set to "Any CPU", If Still at publish time the doesn't show "Configuration: Release Any CPU" please refer to this : "http://blog.noop.se/archive/2009/06/24/class-libraries-do-not-work-in-windows-azure-using-visual-studio-2010.aspx"

2) For Deployment in Azure Cloud:


   a) Deploying For 1st Time, If No Certificate is Present:
  1. Publish your Cloud Project locally by Right Clicking the cloud project And selecting Publish and select "Create Service Package Only", After successful publish it will create 2 files with following extensions : (cscfg & cspkg). 
  2. Create "New Hosted Service" on Azure. If you face any problem please refer this;      "http://blog.toetapz.com/2010/12/15/how-to-deploying-wcf-service-to-windows-azure/"

*You can deploy Azure Project by Right Clicking the cloud project And selecting Publish and select "Create Service Package Only" everytime and   selecting "Upgrade" this will popup a window and you just have to tell the path of your webservice's packages.

    b) If you want to deploy it directly through Visual Studio:
    Refer to this link: "http://msdn.microsoft.com/en-us/library/ff683672.aspx"
   

No comments:

Post a Comment