Before we get into the details, we want to set ourselves up for success. At the time of writing, none of the Language APIs we will be covering have NuGet client packages. As such, we will need to call directly to the REST endpoints. Because of this, we will do some work beforehand, to make sure we get away with writing less code.
Setting up a common core
New project
We will not be adding the APIs to our smart house application. Go on and create a new project, using the MVVM template created in Chapter 1, Getting Started with Microsoft Cognitive Services:
- Go into the NuGet package manager and install Newtonsoft.Json. This will help us deserialize API responses and serialize request bodies.
- Right-click on References.
- In the...