Google Cloud Platform very well support applications built on ASP.NET, the open-source web application framework developed by Microsoft.
In a post today, the company officials detailed how to run a .NET 4 on Google Compute Engine and the features added to its Cloud Platform.
To run ASP.NET 4.x, on GCE, "first you need a Windows Server running IIS and ASP.NET. For this you can easily create a VM on GCE from both Windows Server Data Center 2008R2 and 2012R2 base images," Google's cloud team explained.
Once your Windows Server image is ready, "you can establish user credentials, open up the appropriate ports with firewall rules, use RDP to connect to the machine and install whatever software you'd like," adding the team said.
Further, the team notes, 'if that software is comprised of the Microsoft IIS web server and ASP.NET, along with the appropriate firewall rules," "you should definitely consider using the ASP.NET image in the Cloud Launcher."
Using Cloud Launcher, not only you can create a Windows Server instance, but it also installs SQL Server 2008 Express, IIS, ASP.NET 4.5.2 and opens the standard firewall ports to enable HTTP, HTTPs, WebDeploy and RDP.
Features of Cloud Platforms supporting Windows Server instances:
- GCE now also support the following versions of SQL Server as base image alongside Windows Server:
SQL Server Standard (2012, 2014, 2016)
SQL Server Web (2012, 2014, 2016)
SQL Server Enterprise coming soon (2012, 2014, 2016)
- Google service libraries in NuGet. services provided across more than 100 Google APIs, all of "which are now available for a variety of languages and platforms, including .NET, in NuGet."
- Further, to ensure that its cloud-specific APIs are easy to understand for .NET developers, documentation has per-language examples, including for .NET.
- To further improve usability of these libraries, wrapper libraries for each of the Cloud APIs specific to each language is available.
These libraries are in beta today, and include wrappers for Google BigQuery, Google Cloud Storage, Google Cloud Pub/Sub and Google Cloud Datastore, with more on the way.
- Google StackDriver Logging now also supports the log4net library, providing simplified logging for your apps, with all the goodness of StackDriver's multi-machine, multi-app filtering and querying.
- Google Cloud Tools for Visual Studio as of today is available in the Visual Studio Gallery.
- It's also possible to deploy the ASP.NET 4.x app to Google Compute Engine via Visual Studio's built-in Publish dialog, but with the Cloud Tools extension, we've also made it easy to administer the credentials associated with your VMs and to generate their publish settings files from within Visual Studio.
This functionality is available inside the Google Cloud Explorer, which allows you to browse and manage your Compute Engine, Cloud Storage and Google Cloud SQL resources.
- Google's first PowerShell extensions, "Cloud Tools for PowerShell" available today lets you manage your Compute Engine and Cloud Storage resources.
- Migrating existing VMs. Sometimes, you just want to bring an entire machine over as it is in your data center and run it on the cloud as if nothing had changed. A new partnership with CloudEndure enables you does just that.
- CloudEndure replicates Windows and Linux machines at the block level, so that all of your apps, data and configuration comes along with your migration.
- We're working to enable first-class support for containers-based deployment as well as Linux-based ASP.NET Core.
- Google is bringing soon support for ASP.NET Core.
Many developers are exploring ASP.NET Core for their next-generation workloads. Because ASP.NET Core is fully supported on Linux, you can wrap it in a Docker container and deploy it via App Engine Flexible or Kubernetes running on Google Container Engine.
Finally, the team said, the ASP.NET is not fully supported on either of these platforms yet, but to give you a taste, they've enabled all of the Google API Client Libraries to work on .NET Core (with the exception of hand-crafted libraries).