我正在使用Google Flutter进行移动开发的前端,并且正在使用Azure App Services作为后端。
如何处理登录和身份验证,以便可以使用作为Azure App Services一部分的Easy Auth调用Azure AD B2C。我还没有看到Flutter的任何SDK。Flutter不使用Javascript,因此我无法像在其他Azure示例中看到的那样使用JavaScript来调用它。
有什么想法吗?我认为,由于Azure如此流行,很多其他人也会面临同样的问题。我想使用Google Firestore,但不能使用,因为它不符合HIPAA。
I need to write an Azure Function that returns data against a Cosmos DB Database using Version 2 of Azure Functions. However, I am having hard time finding any good examples on how to do this. I can find very basic examples that involve search on an id.
我希望能够向天蓝色函数发送一些要查询的字段。例如分区内和分区外的“喜欢”和“城市”。我希望它以 json 文档的形式返回所有记录。
Cosmos DB Json 文档示例。
{
"id": "46465464565455566546bddgd"
"Name": "Scott Smith"
"City": "Scottsdale"
"_pk": "56"
到目前为止我的代码
`
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using …Run Code Online (Sandbox Code Playgroud)