Ozzie.eu

Love to code, although it bugs me.

Developing a Web Site with Windows Azure–Part II

No comments
After having the setup needed to start developing code, keep track of it’s changes and deploy the resulting application, all resorting to Microsoft Cloud resources, it’s time to start building the proof of concept.
So, open up Web Matrix and from the startup screen choose “New > Template Gallery”:
image
On the template selection, choose “Personal Site” and give it a name of your liking:
image
You can create a site on Windows Azure where you’ll later deploy the web site on, if you skip this you can do it later at deploy time:
image
After the template has completed the installation and configuration steps, you can start by adding it to source control, using the “Use TFS” on the source control section of the ribbon:
image
Insert your Team Foundation Service URL and press connect. Afterwards choose the project where you’d like to keep version control of you web application:
image
Check in all the files of the initial version of your site (basically as-is from the template installation):
image
Afterwards, you might want to check on the TFS Web portal if the changeset has been successfully checked in:
image
Continue to edit the personal site, following Microsoft’s instructions on how to place your personal data into to web pages. Test it on the local machine, here’s how mine looks like:
image
If all is well, check in your changes to TFS once again. Next, let’s publish the site onto Windows Azure:
image
Pick the site you created upon starting, or create one now:
image
Confirm the publishing operation, if all goes well you’re done:
image
The site is live on Microsoft’s cloud platform. The URL of my testing site is: http://ozziepersonalsite.azurewebsites.net/
Happy coding!

No comments :

Post a Comment