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 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.