The Razor templating engine was first introduced as part of the ASP.Net MVC architecture, and was originally designed to run on a web server to generate HTML files to be served to web browsers.
Since Razor made its first appearance on the development scene, the Razor templating engine has come a long way and now extends the standard HTML syntax, so that you can use C# to express the layout of your HTML files, and incorporate CSS style sheets and JavaScript easily.
Each Razor template has the ability to reference a Model class which can be of any custom type, and properties can be accessed directly from the template, by having the ability to mix HTML and C# syntax easily.
As you work through this chapter, you will see how, by working with Xamarin Studio, you can utilize the Razor HTML templating engine and be equipped with the flexibility of building cross-platform templated HTML views that use both JavaScript and CSS, as well as having access to the underlying...