Android and iPhone Mobile Code Generator for Xamarin Forms
This post provides an outline of the new code generator for Android and iPhone Mobile apps.
This addition to SilverModel now allows for the end to end creation of Mobile Clients with a REST API, as well as Database access to be generated from your models.
The code generator templates are written using XAML(Xamarin Forms) and C#. The generated Forms allow you to view the entities for a class (object) and add or edit them. Also, Parent-Child Relationships are supported so that you can add Child entities to the Parent, and view all Child entities for a Parent.
The generated code uses the REST Client to connect to a REST API. e.g. the included ASP.Net Core WebAPI Code Generator.
REST Client Access Code Generator
This Code Generator creates a C# API that is compatible with the ASP.Net WebAPI code Generators.
The code is compatible with .Net Standard 1.4. This allows you to use it with any solution that is compatible with .Net Standard 1.4
Some example of Solutions that can use this client are:
- Mobile Apps using Xarmin
- WPF Apps
- UWP (Windows Universal)
- etc
The latest version of the code generators are available on Github at https://github.com/Silverdawn/SilverModel-Code-Generators
The ToDo sample up has now been updated to use the above Code Generators.