[英]Azure MobileServiceClient stopped working after updating Visual Studio to 16.3.7
I have a Xamarin Forms app for Android that uses a MobileAppService to retrieve data from an Azure SQL Database with EntityFramework, this worked well until I updated Visual Studio to 16.3.7, now the MobileAppService doesn't retrieve anything, I don't get exceptions or anything it just returns null. I have a Xamarin Forms app for Android that uses a MobileAppService to retrieve data from an Azure SQL Database with EntityFramework, this worked well until I updated Visual Studio to 16.3.7, now the MobileAppService doesn't retrieve anything, I don't get异常或任何它只返回 null。
This is the query I'm trying to run, I've tried with others and it's the same, it just returns null.这是我正在尝试运行的查询,我已经尝试过与其他人一起运行,它是相同的,它只是返回 null。
Also, my app service is up and running I tried querying directly and it works!此外,我的应用程序服务已启动并正在运行,我尝试直接查询并且它有效!
The url to my app service: https://avalis.azurewebsites.net url 到我的应用程序服务: https://avalis.azurewebsites.net
async Task<Usuario> IAzureAppService.GetUsuarioByUsernameAsync(string username){
Initialize();
return (await usuariosTable.Where(r => r.NombreUsuario == username).ToEnumerableAsync()).FirstOrDefault();
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.