The most of framework methods are asynchronous and are returned by the instance of the Task<string> class, which results in a JSON string. Such methods are marked with the Async standard suffix, for example, AuthAsync(). Asynchronous methods are called using the "await" keyword.
Example of asynchronous method call
Synchronous methods generally return "bool", "string", or return nothing, that is, "void" is called directly.
Example of synchronous method call
Example of model for JSON response
However, the response is returned in a serialized form. The Result property must be deserialized and typed in the client.
Example of failed response model
To initialize and set up UWP, see the Initializing and Setting Up UWP Framework section.
For details about UWP framework methods, see the Describing UWP Framework Methods section.
To view examples of UWP framework use, see the Examples of UWP Framework Use section.
See also:
UWP Framework | Initializing and Setting Up UWP Framework | Describing UWP Framework Methods | Examples of UWP Framework Use