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:
- Launch the Visual Studio for Mac application.
- Next, choose the New Solution… option, or, alternatively, choose File | New ...