Building a BookLibrary app using the Razor templating engine

In this section, we will take a look at how to create a Razor templating solution. We will begin by developing the basic structure for our application, as well as creating a BookItem data model and a BookDatabase class, designing the Razor template pages user interface files using HTML5, and implementing the necessary class instance methods within the WebViewController class.

Before we can proceed, we need to create our BookLibrary project for the iOS platform. It is very simple to create this using Visual Studio for Mac. Simply go through the following steps:

  1. Launch the Visual Studio for Mac application.
  2. Next, choose the New Solution… option, or, alternatively, choose File | New ...

Get Mastering Xamarin UI Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.