Scaling Umbraco on Windows Azure (Part 2)
In this second post of the three-part series about how to scale an Umbraco website on Windows Azure, we will install the CMS on our cloud platform.
Join the DZone community and get the full member experience.Join For Free
A One-Click Process, Maybe a Few More Clicks
If you don't have one yet, create your Windows Azure Free Trial subscription, then log into your portal.
Create a new web site and install Umbraco:
Make sure you chose the right pricing for the database! For the demo, the free price tier is enough.
Configure the server:
Add the App settings:
We're all set up. Click create, and your app is being deployed.
After few minutes the deployment is complete.
You can find the link to your website on the all resources link on the left hand side menu.
The default app page will first appear while the Umbraco install is launching. It should eventually prompt you for the login details you want to set up for the very first admin user of your Umbraco installation.
Now is the time for you to grab a coffee and check your Twitter feed.
And here we are, ready to manage our website! After a successful installation, we are taken to the admin page of our Umbraco CMS.
Ready to Use a Layout Template
Since we installed the default template along with the Umbraco install, we have a starter kit named Fanoe with a layout template and site structure already built for us.
We can study, in the admin of the website accessed via the
/umbraco path, the structure of our website. We have a homepage that is our Higher level page, and it contains
Learn, Explore, and Extend as child items. Those nodes are documents that are of a specific type and are linked to a given template. In our case, the Home document is an instance of the Home Document Type and will be rendered through the Home Template.
The Home Document Type (DT) is defined in the settings menu of the Umbraco website.
The Home DT has two tabs defined. In the site tab, we have a Site Description property of type Textarea, a Site Title property of type Textstring.
The Home Template is accessible under the Template folder of the Umbraco Settings menu. It is nested under a master Template called
Master, and it contains the code to display when the Home page is rendered.
Here the home page references a child template to display content from Grid data types.
Up and Running in Less than an Hour. Start Adding Pages.
We have installed our Umbrao website and we are now familiar enough with how it works to be able to start adding content. In the next part of this series, we will see how to scale our application on Windows Azure.
Published at DZone with permission of Halima Koundi, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.