In Part 1 I discussed how you could use msbuild + PowerShell to deploy your Windows Azure projects. Another thing you might need to deploy is your certificates for SSL etc. I figured that was the next logical step so I modified the scripts to include this. The new deploycert.ps1 file takes you API certificate, the hosted service name and the cert path and password for your certificate. I added a property group to hold the certificate information in the msbuild file.
I also updated the msbuild file to change the azure information. I made a big assumption about how things worked that I didn't comment on last time. The azure information included the storage account information so you could swap out the connection strings. The assumption I made was that the hosted service and storage service names where the same. That was dumb. I updated the property group to better represent what is going on.
The last piece of information on this is that you should make sure that you secure this information. I would suggest you have this build just on the build server and not for devs. We are going to cover this in more detail when the guide come out. Check our site often.
Made some pretty significant changes and moved code to github. Check out latest post.
Listened to: The Consciousness Eaters from the album "Dark Matter Dimensions" by Scar Symmetry