Summary
In this chapter, you learned about the Microsoft Azure App services platform and how you can use this platform to create your cloud-based databases using RESTful web service APIs to handle all communication between the TrackMyWalks
mobile application. You then set up and configured a Microsoft Azure App service to create a mobile app service, data connection, SQL Server database, and a WalkEntries
table, and learned how to incorporate the Newtonsoft.Json
NuGet package, as well as modify the WalkDataModel
data model.
Next, you created a RestWebservice
interface and class—which included a number of class instance methods that will be used to communicate with our database—so that you can perform CRUD operations to create, update, retrieve, and delete walk entries. You then made changes to the BaseViewModel
class so that it included an AzureDatabase
property in our RestWebService
class, and then you made several changes to the underlying code-behind files to communicate with our SQL Server...