O'Reilly logo

Xamarin in Action: Creating native cross-platform mobile apps by Jim Bennett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required