【问题标题】:GAE Endpoint Library for C# in XamarinXamarin 中 C# 的 GAE 端点库
【发布时间】:2016-06-25 14:30:21
【问题描述】:

我目前使用 Android Studio 来构建我的 GAE 端点和应用程序。但是,我想迁移到 Xamarin,以便构建我的应用的 iOS 版本。

我的计划是继续使用 Android Studio 构建端点客户端库并将其“迁移”到 Xamarin。

但是,我的挑战是找到任何有用的信息来完成这项工作。有人可以建议吗?非常感谢!

【问题讨论】:

    标签: google-app-engine xamarin google-cloud-endpoints


    【解决方案1】:

    第 1 步:如果您没有 sudo easy_install pip,请安装 pip

    第 2 步:安装 google 客户端库生成器 pip install google-apis-client-generator

    第 3 步:通过替换应用程序 ID https://{applicationId}.appspot.com/_ah/api/discovery/v1/apis 在浏览器中点击 url

    第 4 步:复制 json "discoveryRestUrl" 中的属性 它看起来像 https://{applicationId}.appspot.com/_ah/api/discovery/v1/apis/{your api name}/v1/休息

    第5步:从url下载文件并保存为rest.json

    第 6 步:使用以下行 generate_library --input=rest.json --language=csharp --output_dir={您的输出位置}

    请参考此链接可能对您有用。

    https://sookocheff.com/post/appengine/cloud-endpoints/generating-a-c-sharp-client/

    另请参考:https://github.com/GoogleCloudPlatform/appengine-endpoints-helloworld-dotnet

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-06
      • 1970-01-01
      相关资源
      最近更新 更多