News

Google Cloud Functions Supports .NET Core 3.1 (but not .NET 5)

Google Cloud Functions -- often used for serverless, event-driven projects -- now supports .NET, but the new support is a release behind Microsoft's latest .NET offering.

On Nov. 19, Google announced support for .NET Core 3.1 in its Function-as-a-Service (FaaS) platform, but that was more than a week after Microsoft shipped the GA version of .NET Core 3.1's successor, .NET 5.

Cloud Functions helps users create single-purpose, stand-alone functions that respond to events such as user interactions or triggers, with the provider taking care of managing servers and runtime environments.

"With Cloud Functions for .NET, now in Preview, you can use .NET Core 3.1 to build business-critical applications and integration layers, and deploy the function in a fully managed environment, complete with access to resources in a private VPC network," Google said. ".NET functions scale automatically based on your load. You can write HTTP functions to respond to HTTP events, and CloudEvent functions to process events sourced from various cloud and Google Cloud services including Pub/Sub, Cloud Storage and Firestore."

Google Cloud Functions
[Click on image for larger view.] Google Cloud Functions (source: Google).

In addition to C#, coders can use F# and Visual Basic to write cloud functions, in conjunction with the Functions Framework for .NET, an open source FaaS framework for creating portable .NET functions. "With Functions Framework you develop and run your functions locally, then deploy them to Cloud Functions, or to another .NET environment," Google said."

That framework includes a template package for use from the command line or Visual Studio, and the templates support VB and F# also.

With the new .NET support for serverless computing, Google Cloud is somewhat catching up to industry leader Amazon Web Services (AWS), which has supported .NET in its AWS Lambda offering for years.

The other "Big 3" cloud provider, Microsoft Azure, naturally supports .NET in its serverless offering, Azure Functions, though .NET Core 3.1 support only arrived in January.

For working with the new .NET Core 3.1 support in Cloud Functions, Google published a .NET Quickstart and pointed to "A Tour of the .NET Functions Framework" written by Jon Skeet.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube