To create the XAML views, view models and infrastructure files for the project, you must scaffold the project using the T4 transformation templates.
To scaffold XAML views and view models, perform the following steps:
In Solution Explorer, right-click the Xamarin project, and select Scaffold Unisys ePortal Xamarin App.
Note: In Visual Studio for MAC, the menu item is located under the Project menu, instead of the right-click context menu.
The Data Model for Scaffolding dialog box appears.
In the Data Model for Scaffolding dialog box, select the data model from the list, and click OK.
Once the scaffolding is complete, the Views, ViewModel, and Toolkit folders are available under the Xamarin project.
In the AppConfig.xml file, verify if the specified WebAPI URL endpoint is correct.
Note: In most instances, you should specify a host name in the URL. Using “localhost” may work for local testing with UWP, but it will not work correctly for Android and iOS emulators.
Build and run the application using a desired mobile emulator or device (Android, iOS, or UWP).