//StreamReader objReader = new StreamReader(HostingEnvironment.MapPath("/json.json")); //string sLine = ""; //StringBuilder str = new StringBuilder(); //while (sLine != null) //{ // sLine = objReader.ReadLine(); // str.Append(sLine); //} //objReader.Close(); //var oauthUser = JsonConvert.DeserializeObject<OAuthUserInfo>(str.ToString()); //var userInfo = new UserInfo //{ // OpenId = oauthUser.openid, // OAuthUser = oauthUser //};