Chapter 7. Building cross-platform models

This chapter covers

  • Creating simple model layers
  • Creating and running unit-test projects to test your models
  • Structuring more complex model layers with services, repositories, and data models
  • Using an ORM to access SQLite
  • What REST services and JSON are
  • Accessing web services from .NET Standard libraries

In the last chapter we started planning our mobile apps—we looked at the user flows, thought about the UIs, worked out what code would be in each layer, and thought about the threads our code should run on. Then we created a solution and took a look at some of the options and settings available in mobile apps. We talked about two apps: SquareRt (a simple square-root calculator) and Countr (an app ...

Get Xamarin in Action: Creating native cross-platform mobile apps now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.