[英]MobileServiceUser returns wrong UserId
我的 Xamarin Forms 應用程序中有一個現有用戶,其詳細信息如下: 名字:Jim 姓氏:Smith ProviderLoginId = jsmith@google.com OAuth 提供商:Google 當我第一次創建這個用戶時,我使用以下方法對 google 進行身份驗證,如下所示: ...
[英]MobileServiceUser returns wrong UserId
我的 Xamarin Forms 應用程序中有一個現有用戶,其詳細信息如下: 名字:Jim 姓氏:Smith ProviderLoginId = jsmith@google.com OAuth 提供商:Google 當我第一次創建這個用戶時,我使用以下方法對 google 進行身份驗證,如下所示: ...
[英]Can't authenticate MobileServiceClient in Azure ASP.NET Backend
我有基於 Visual Studio 2019 模板的 ASP.NET Web 應用程序(.NET Framework),並帶有個人用戶帳戶的自定義身份驗證。 它適用於 Postman。 我能夠獲得令牌並訪問標記為 [授權] 的 controller 我正在為用於離線同步的 MobileServi ...
[英]Azure SQL C# Backend Querying Float Caues "Internal Server Error"
我有一個非常適合你們的集市,我就是想不通,甚至想不通。 我過去創建了一些 Azure 數據庫,我相信這是我使用 .NET 后端的第二個數據庫。 除了浮點變量之外,我似乎已經正確地拉/插入了所有內容。 精簡類客戶端: 精簡類后端: 在服務器端,價格列(和類的其他浮點數)被設置為數據類型“浮點 ...
[英]Azure mobile app custom authentication and MobileServiceClient
我正在為Azure移動應用程序遵循自定義身份驗證( https://www.newventuresoftware.com/blog/custom-authentication-with-azure-mobile-apps ) 我創建了AuthControll ,它接受用戶名和密碼並創建令牌 ...
[英]Azure Mobile Service Client InvokeApiAsync not hitting WebAPI
我似乎無法從我的xamarin Forms移動應用程序中訪問Web API。 我可以通過PostMan命中api,並且效果很好。 輸入文本時運行的命令 此命令調用ExecuteSearchCommand方法,客戶端通過該方法進行api調用 我的ItemController ...
[英]How can I use basic authentication with MobileServiceClient?
我正在使用azure移動服務SDK進行離線同步。 我制作了api,以便使用電子郵件和密碼進行基本身份驗證來保護它。 如何將這些憑據嵌入MobileServiceClient,以便每當我調用一個方法時,它都具有正確的身份驗證憑據。 這是我現有的MobileServiceClient代 ...
[英]Creating a new MobileServiceClient() freezes VS and Android app
在Xamarin Forms應用程序上工作(Android和iOS)嘗試創建與簡易表的連接時,我在Azure移動應用程序中的Visual Studio凍結了大約7秒鍾,然后返回時退出了代碼,Android在調試中運行的應用程序被永久凍結。 逐步執行代碼時,它將遍歷client = new ...
[英]How to use where query from IMobileServiceTableQuery in xamarin Forms?
我嘗試從電子郵件中獲取對象ID,可以在IMobileServiceTableQuery中做到這一點,因此,如果我在sql服務器中寫查詢,它將是類似SELECT id from Member where email = 'nani@gmail.com' ,所以如何在IMobileServiceTa ...
[英]Replacement for Azure MobileService.Client.GetPush().RegisterAsync()
由於Microsoft.Azure.MobileClient nuget當前僅支持.net標准,因此我正在考慮將其從我的應用程序項目中刪除。 我唯一要使用的是RegisterAsync()調用。 我可以在后端(使用Azure通知服務)執行此操作嗎? 我有Firebase令牌和Apple ...
[英]Xamarin MobileServiceClient RefreshUserAsync with Google 403
我正在使用Azure的MobileServiceClient sdk與我的服務器進行身份驗證。 升級到4.x版本后,我還使用Xamarin.Auth通過Google和Facebook驗證用戶身份。 當響應從Google回來時,我得到一個刷新令牌。 然后,我將移動服務SDK稱為: 這 ...
[英]Azure MobileService Client - ToListAsync not retrieving all data
我正在使用Azure提供的MobileServiceClient類從Azure SQL database獲取數據。 看來當我使用ToListAsync()函數時, ToListAsync()數據庫中獲取前60行左右。 有沒有解決的辦法? ...
[英]Can I create Azure MobileServiceClient instance with Azure Function App url instead of creating an Azure Mobile App?
我的目的是構建無服務器的移動應用程序后端。 現在,當我嘗試創建MobileServiceClient實例時,它要求提供Azure移動應用程序URI,這個URI可以是功能應用程序URI還是只能是移動應用程序? ...
[英]Azure App Service Authentication - Pulled data even when authentication failed
我有一個針對Windows UWP的Xamarin Forms應用程序。 我已經按照以下類似本文的Microsoft文檔成功設置了離線同步和身份驗證: https : //docs.microsoft.com/zh-cn/azure/app-service-mobile/app-service ...
[英]MobileServiceClient MobileServiceInvalidOperationException Response Content is null
我在Xamarin Forms應用程序中使用以下代碼: 我遇到的問題是當500導致拋出MobileServiceInvalidOperationException時。當我嘗試讀取響應的內容(e.Response.Content)時,它為null。 當我使用Restlet調用相同的API ...
[英]How to get column average from azure mobile apps
我正在Windows 10應用程序中使用azure移動應用程序.net后端,我想從數據庫中的表中檢索平均列。 我怎樣才能做到這一點? 我搜索了互聯網,找不到任何有用的信息。 我的表格只有兩列; id(字符串)和Rating(int)。 ...
[英]Providing “login_hint” on server side Azure Mobile App
我正在使用Azure MobileServiceClient向移動應用程序進行身份驗證。 我想啟用安全注銷功能,該功能涉及刪除Web組件創建的cookie。 否則,如果有未過期的Cookie潛伏,選擇“登錄”的任何人都只會登錄。 刪除Cookie效果很好。 不幸的是,這意味着在同一台 ...
[英]Azure Mobile App Authentication using Xamarin
我閱讀了這兩篇文章1. 在這里和2. 在這里,以了解當服務器上的API使用基於Claims的自定義授權並且Xamarin客戶端使用MobileServiceClient框架調用服務器上的API時,對Azure移動應用執行身份驗證的最佳方法。 我無法最終確定這些鏈接中的兩個示例中哪個是更好的方法 ...