I am using Microsoft.ProjectOxford.Face
and Microsoft.ProjectOxford.Face.Common
to access face API.
But as soon as I am calling a async method i'ts taking me to indefinite task and my page got refreshed.
My development platform is ASP.Net MVC.
static Microsoft.ProjectOxford.Face.FaceServiceClient faceclient = new Microsoft.ProjectOxford.Face.FaceServiceClient(subscriptionKey);
var face = await faceclient.CreatePersonAsync(PersonGroupID, name);
personid = face.PersonId;
On executing the CreatePersonAsync
method the control goes into indefinite state and page got refreshed