NET-Microservices-Architecture-for-Containerized-NET-Applications
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Contents
Introduction ............................................................................................................................. 1
About this guide ....................................................................................................................................................................... 1
Version ......................................................................................................................................................................................... 1
What this guide does not cover ......................................................................................................................................... 2
Additional resources .......................................................................................................................................................... 2
Who should use this guide .................................................................................................................................................. 2
How to use this guide ....................................................................................................................................................... 2
Introduction to Containers and Docker ................................................................................ 3
What is Docker? ........................................................................................................................................................................ 4
Comparing Docker containers with virtual machines ........................................................................................... 5
A simple analogy ................................................................................................................................................................. 6
Docker terminology ................................................................................................................................................................ 7
Docker containers, images, and registries ..................................................................................................................... 9
Choosing Between .NET Core and .NET Framework for Docker Containers ................... 11
General guidance .................................................................................................................................................................. 11
When to choose .NET Core for Docker containers .................................................................................................. 12
Developing and deploying cross platform ............................................................................................................ 12
Using containers for new (“green-field”) projects ............................................................................................... 13
Create and deploy microservices on containers .................................................................................................. 13
Deploying high density in scalable systems .......................................................................................................... 13
When to choose .NET Framework for Docker containers ..................................................................................... 14
Migrating existing applications directly to a Windows Server container .................................................. 14
Using third-party .NET libraries or NuGet packages not available for .NET Core .................................. 14
Using .NET technologies not available for .NET Core ........................................................................................ 14
Using a platform or API that doesn’t support .NET Core ................................................................................. 15
Decision table: .NET frameworks to use for Docker ................................................................................................ 15
What OS to target with .NET containers ...................................................................................................................... 16
Additional resources ....................................................................................................................................................... 18
i
Contents