In this section, we will take a look at how to create the data model that will be used to define information that's related to our trail entries. The advantage of creating a data model is that it is much easier to add additional properties to this model, and then implement these in the relevant class files.
Another advantage of using a data model is that you can bind this model to a database or bind this to data that's stored within a Microsoft Azure database. As we progress through this chapter, you'll see how you can use this model to set up and initialize walk entries for our TrackMyWalks page using a ListView control to display trail information for each row contained within the ListView.
Let's start by creating the WalkDataModel class for our TrackMyWalks app by performing the following steps:
- Ensure that the TrackMyWalks...