Hi All ,
Please find below url which will guide you through step by step instructions to create face detection API through Cognitive services in Azure .
https://docs.microsoft.com/en-us/azure/cognitive-services/Face/Tutorials/FaceAPIinCSharpTutorial
Regards ,
Manas Saha