Docker is awesome and there's been a lot of excitement over .NET Core running in Linux containers. But why do older apps have to miss out on the fun? With Windows Server 2016 and Windows Server containers, there's finally a way to dockerize .NET 4.6 apps using the same Docker tools and commands as we're used to on Linux. In this intermediate level talk, I'll give an overview of Docker and Windows Server containers. Then I'll demonstrate different ways to run existing ASP.NET Web API, MVC, and even WebForms applications inside Docker containers.
5. @nthonyChu#SeattleCodeCamp #DockerAllTheThings
The App Deployment Problem
Environments must be kept the same
“Works on my machine”
Set up servers to run different types of apps
Conflicts between dependency versions
Long lived servers
36. @nthonyChu#SeattleCodeCamp #DockerAllTheThings
Monolith to Microservices
Dockerize monolith
Spin off features into microservices in containers
Repeat until monolith is obsolete
Strangler Application Pattern
• http://www.martinfowler.com/bliki/StranglerApplication.html
39. @nthonyChu#SeattleCodeCamp #DockerAllTheThings
Windows Server Containers
Infrastructure
Windows Server 2016
Container
Dependencies
App
Container
Dependencies
App
Utility VM
Hyper-V Containers
Infrastructure
Windows Server 2016 / Windows 10
Container
Dependencies
App
Utility VM
Container
Dependencies
App