Over a million developers have joined DZone.

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.

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

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.

This article was first published on the Codurance blog.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


Published at DZone with permission of Halima Koundi, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}