Google发布用于Google Cloud的.Net API
Google近期宣布針對Google Cloud API的.Net支持。這包括C#綁定和PowerShell cmdlet。還有一個Visual Studio擴(kuò)展,它允許在Google Compute Engine上瀏覽Google Cloud 資源和部署Asp.Net 應(yīng)用。
\\針對Google Cloud API的C#綁定
\\該C#綁定提供對以下Google Cloud服務(wù)的訪問:
\\- Google BigQuery\
- Google Cloud Datastore\
- Google Cloud Logging\
- Google Cloud Pub/Sub\
- Google Cloud Storage\
- Google Cloud Natural Language\
- Google Cloud Vision\
Google Cloud 綁定有它們自己的庫。該綁定對其他Google服務(wù)的支持可以在 GitHub上找到。它們也都在Nuget上發(fā)布了。
\\這些Google服務(wù)通常已經(jīng)使用HTTP和Json實現(xiàn)。而新的Google Cloud API是基于gRPC 構(gòu)建的,這是一款高性能的RPC框架。gRPC在提供了高性能之外,還帶來了這些API所需的雙向流。
\\大多數(shù)Google API運行于.NET Core運行期,而針對剩余API的支持也正在進(jìn)行中。
\\PowerShell 支持
\\針對PowerShell的Google Cloud工具 由管理Google Cloud資源的cmdlet組成。它目前尚在Beta測試階段,在文檔中警告說這個時候可能這些API還會進(jìn)行比較大的調(diào)整。
\\針對PowerShell的云工具包含在Google Cloud SDK的Windows版本中。
\\這些服務(wù)支持是:
\\- Google Cloud DNS\
- Google Cloud SQL\
- Google Cloud Storage\
- Google Compute Engine\
Visual Studio 擴(kuò)展
\\針對 Visual Studio的 Google Cloud Platform擴(kuò)展 提供了可視化Google Cloud Storage和Google Compute Engine 用法的工具。它還提供了部署 ASP.NET 4.x 到Google Compute Engine的支持。
\\這第一個版本為將來更多的特性打開了大門。能夠把 ASP.NET Core應(yīng)用部署到 Google App Engine 或 Google Container Engine 上是值得注意的一個特性,目前它正在進(jìn)行中。
\\C# bindings、PowerShell cmdlet 和 Vistual Studio擴(kuò)展 是GitHub上的開源項目。
\\查看英文原文:Google releases .Net APIs for Google Cloud
總結(jié)
以上是生活随笔為你收集整理的Google发布用于Google Cloud的.Net API的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: LVS DR模式 负载均衡服务搭建
- 下一篇: 常用bat命令