Our Blogs

Google .NET APIs for Google Cloud unveiled

October 30, 2016
Google has released .NET support for Google Cloud APIs, which includes C# bindings and PowerShell cmdlets. You will be able to work with the APIs using a Visual Studio extension. It enables you to navigate Google Cloud resources. Moreover, you can deploy ASP.NET applications on Google Compute Engine.

The newly introduced C# bindings throws open access to a wide range of Google Cloud services such as Google BigQuery, Google Cloud Datastore, Google Cloud Logging, Google Cloud Pub/Sub, Google Cloud Storage, Google Cloud Natural Language and Google Cloud Vision.

You should note that the Google Cloud bindings have their own repository. You will be able to find bindings for other supported Google services on GitHub.

Typically speaking, the Google services have usually been implemented using HTTP and Json. The Google Cloud APIs are built on top of gRPC including an high performance RPC framework. You will be able to work with bidirectional streaming which is required by the APIs.
Google Cloud tools also provides support for PowerShell, which consists of cmdlets using which you can manage your Google Cloud resources. Even though the tools are in beta format, the warning message in the documentation clearly specifies the probable changes in the APIs.

Cloud Tools for PowerShell is included in the Windows version of the Google Cloud SDK. It provides support for services such as Google Cloud DNS, Google Cloud SQL, Google Cloud Storage and Google Compute Engine.

Visual Studio extension

If you look at the Google Cloud Platform Extension for Visual Studio, it provides all the required tools to visualise Google Cloud Storage and Google Compute Engine usage. The extension also provides support for deploying ASP.NET 4.x applications to Google Compute Engine.

The open-sourced C# bindings, PowerShell cmdlets and Vistual Studio extension are available for download on GitHub.