C# and Vertex AI Gemini streaming API bug and workaround

A user recently reported an intermittent error with C# and Gemini 1.5 model on Vertex AI’s streaming API. In this blog post, I want to outline what the error is, what causes it, and how to avoid it with the hopes of saving some frustration for someone out there. Error The user reported using Google.Cloud.AIPlatform.V1 library with version 2.27.0 to use Gemini 1.5 via Vertex AI’s streaming API and running into an intermittent System. Read More →

.NET 7 on Cloud Run

.NET 7 was released a few days ago with new features and performance improvements and it’s already supported on Cloud Run on Google Cloud! In this short blog post, I show you how to deploy a .NET 7 web app to Cloud Run. Create a .NET 7 web app First, make sure you’re on .NET 7: dotnet --version 7.0.100 Create a simple web app: dotnet new web -o helloworld-dotnet7 This creates the helloworld-dotnet7 folder with a project file. Read More →

Google Cloud Functions on .NET

.NET for Google Cloud Functions (Alpha) I spoke at many .NET conferences over the last 3-4 years and one of the top requests I always received was: When will .NET be supported on Cloud Functions? Unfortunately, I didn’t have a good answer for a while. That all changed last month with the following tweet from Jon Skeet from our C# team: I'm thrilled that .NET support is coming to Google Cloud Functions, along with the . Read More →

.NET Core 3.1 updates in Cloud Shell and App Engine flexible environment

.NET Core 3.1 updates on Google Cloud .NET Core 3.1 was released on December 3rd, 2019 and is a LTS release, supported for three years. In Google Cloud, you could already deploy .NET Core 3.1 containers in Cloud Run (see cloud-run-dotnetcore-31) and also in App Engine flexible environment with a custom runtime. We recently extended .NET Core 3.1 support in a couple of ways: Cloud Shell now supports .NET Core 3. Read More →

Windows and .NET on Google Cloud Platform

Originally published in SDN Magazine 131 in February 2017. Introduction Until recently, there were two distinct camps in the software world: the Windows (A.K.A. closed) world and the Linux (A.K.A. open) world. In the Linux world, we had tools like the bash shell, Java programming language, Eclipse IDE, MySQL database, and many other open-source projects by Apache. In the Windows world, we had similar, yet distinct tools mainly developed by Microsoft, such as the C# programming language, Visual Studio IDE, SQL Server and PowerShell. Read More →