Anthony Chu Contact Me

Dockerizing ASP.NET 4.x Apps with Windows Containers

Wednesday, June 8, 2016

Ever since ASP.NET Core came out, a big deal has been made that it runs on Linux and we can finally deploy ASP.NET inside Docker containers. While there's no doubt that it's a huge step forward for the platform; there's one thing that is often overlooked... This is only good news for green field projects and apps that can be ported to ASP.NET Core.

The majority of existing ASP.NET apps will never be ported to ASP.NET Core. There are many reasons an app can't be ported:

  • Too many dependencies on System.Web
  • WebForms!
  • Third party dependencies that haven't been ported to .NET Core
  • It runs perfectly fine in .NET 4.6 and earlier and doesn't make financial sense to port it

This is why Windows containers are so important. They let us bake our existing applications into Docker images and deploy them with the same tools as the rest of the Docker ecosystem.

Today we'll look at what it takes to build and run an ASP.NET 4.x WebForms app in a Windows container. We'll be using Windows Server Core 2016 TP5.

Continue Reading...


Easy Natural Language Processing with Bot Framework and LUIS

Sunday, June 5, 2016

I noticed my previous article on hooking up LUIS to an Azure Functions Bot Framework bot was mentioned in a great article comparing different bot frameworks by the folks at Aspect Software. There was one problem, however; it wasn't immediately obvious to the author of the article or their readers that my code was a hack to get the Bot Framework to work with Azure Functions. It's not representative of how one would write a Bot Framework bot in C# or Node.

So I thought today I'd write about how Bot Framework and LUIS were meant to be used together. I presented a similar example at the Vancouver Polyglot Unconference last week on chatbots. I am choosing to use Node here for no other reason than I'm more familiar with the Node Bot Framework SDK right now. A C# version would be quite similar.

Continue Reading...


ASP.NET Core on Azure - Deployment Options

Sunday, May 15, 2016

A couple weeks ago, Jef King, Clint Singer, and I presented at the Vancouver Azure Meetup about the different ways to deploy ASP.NET on Azure. It was a lot of fun!. In this post, I'll summarize our presentations.

There are a few ways to deploy ASP.NET Core on Azure:

  • Virtual Machines and VM Scale Sets
  • Cloud Service Web Roles
  • App Service (Web Apps)
  • Container Service
  • Service Fabric

Continue Reading...


Deploying ASP.NET Core with Docker Swarm to Azure Container Service

Friday, April 22, 2016

The big announcements from Microsoft haven't slowed down since the Build conference a few weeks ago. Last week, Azure Container Service reached General Availability.

Azure Container Service provides a really simple way to stand up a cluster to which we can deploy Docker images. Currently, it supports either Mesosphere DC/OS and Docker Swarm.

In this article we'll take a look at connecting to an Azure Container Service Docker Swarm cluster and deploying a simple ASP.NET Core application using the Docker CLI.

Continue Reading...


Easily Translate Conversations with Microsoft Bot Framework

Wednesday, April 20, 2016

In previous articles, we created a bot using the Microsoft Bot Framework and Azure Functions and then added natural language processing using Microsoft Cognitive Services' LUIS (Language Understanding Intelligent Service).

Today, we'll look at how the translation capabilities automatically turn any bot into a multilingual bot. This is all built-in and we don't have to write any code at all!

Continue Reading...