This project is a proof-of-concept console application that uses Microsoft Cognitive Services - particularly Face API. The following are the frameworks/technologies used in creating this.
- .NET Framework 4.6.1
- .NET Framework 4.6.1
- Unity 5.8.11
- NUnit 3.11.0
- Moq 4.10.0
- Newtonsoft.Json 11.0.2
- Microsoft Azure KeyVault 3.0.3
- Microsoft Azure Services App Authentication 1.0.3
-
In order to view the source code you should install Visual Studio on your computer. You may refer to this LINK to download the software. Afterwards, please ensure that you have .NET Framework 4.6.1 or later installed on your machine.
-
You must also have an API key in order to use the RESTful APIs of Azure Cognitive Services. To purchase one you may refer to this LINK. Make sure you already have an Azure account prior to your purchase.
-
This application currently does not contain methods for getting, updating, and deleting items (i.e. person-group, person, and face). These have been created for the meantime in Postman which can be accessed by clicking on the button below. You may need to install Postman on your computer to use the APIs.
- Once you have the subscription key, put it inside the
App.config
file
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="SubscriptionKey" value="ENTER_KEY_HERE" />
</appSettings>
</configuration>
In order to run the unit tests you may use the Test Explorer of Visual Studio. However, for the integration tests you will not be able to run them. Only the build pipeline of the master branch will be able to do so.
- In Visual Studio click Test
- Click Windows
- Click Test Explorer