I was recently asked if Azure PaaS (Web Apps) & Azure Load Balancers supported Web Sockets, and I said yes, because well I read that it did. But I never tried it so I figured I’ll follow the Chat App tutorial from socket.io to try it for myself. Easy enough, I created the local app, added it to a git repo then deployed it to Azure Web Apps and everything worked as expected (How to use git to deploy node to Azure? Read: Continuous deployment using GIT in Azure App Service).
TL;DR: Clone & follow the steps from my GitHub repo WCFDemoApp to get started.
Recently I was able to work with a local company that had a fairly common 2-tier environment consisting of a web front end in ASP.NET and a middle tier (API) using WCF connected to a SQL database all hosted in their co-location environment on their own servers. They wanted to move this workload to the cloud and so I took this opportunity to build a walkthough on how to do exactly that.
I had an interesting call with a partner this week where the client of the partner did not want the servers (virtual machines aka VMs) deployed to the public cloud (in this case Azure) because of potential downtime. Their fundamental concern was due to planned maintenance where the host systems are patched & rebooted as needed which can lead to downtime. This is one of those good and bad things. The good being the host systems are patched and up to date (good for security & overall system health) but yes bad because it means that the system could be down for a short period of time, but only if you only run single instances!
There are countless resources just a quick search a way that will list all the things you should study in preparation for a particular exam. Likely you will find Microsoft Virtual Academy courses, TechNet/MSDN articles, blog posts, books, practice exams and much more. Let me be clear, those are all super useful.
However, I will share how I passed the exams, which is not to say how you can or will, but if you are like me (just a bit?), maybe this will be helpful.
I came across an interesting bug today that could show up in environments where source content is minified. The core of the issue was a regular expression (aka regex) that would work on content that had whitespace and newlines, but not on the same content which had been minified (whitespace & newlines removed, names shortened etc.)
Edge is Microsoft’s newest browser for Windows 10. I genuinely dig it, the overall UX feels more like an “app” than a “browser” if that makes any sense. It’s still missing some key features like cloud sync’d favs and of course extensions (which are coming as they were announced at //BUILD but no official release date as of yet).
In a previous post I introduced you to the Azure Marketplace where you can deploy solutions or publish your own for free for for a fee. The Azure MarketPlace uses the Azure Resource Manager technology to programatically define these deployments however even if you don’t intend to publish in the MarketPlace it’s still handy to define your own infrastructure for dev, test and production setups.
To understand the Azure Marketplace let’s start with the Virtual Machine Gallery and a tale of two portals.
The Virtual Machine Gallery allows you to quickly and easily deploy a Virtual Machine running your desired operating system (OS) such as Windows Server or a Linux distro such as Ubuntu, Suse etc. It also allows you to deploy a Virtual Machine pre-configured with a workload such as Visual Studio, SQL Server, SharePoint (trial), BizTalk, Puppet and more.
The key point here is that is makes it easy to deploy a single pre-configured Virtual Machine image.
What powers this? Something called Service Management API which internally uses “RDFE” which stands for RedDog Front End (RedDog being the code name for Azure back in the day).