EDITION v7.0
- Updated to ASP.NET Core 7.0
Refer
changelog
for the book updates and community contributions.
This guide is an introduction to developing microservices-based applications
and managing them
using containers. It discusses architectural design and implementation approaches using .NET and
Docker containers.
To make it easier to get started, the guide focuses on a reference containerized and microservice-
based application that you can explore. The reference application is available at the
eShopOnContainers
GitHub repo.
Action links
•
This e-book is also available in a PDF format (English version only)
Download
•
Clone/Fork the reference application
eShopOnContainers
on GitHub
•
Watch the
introductory video
•
Get to know the
Microservices Architecture
right away
Introduction
Enterprises are increasingly realizing cost savings, solving deployment problems, and improving
DevOps and production operations by using containers. Microsoft has
been releasing container
innovations for Windows and Linux by creating products like Azure Kubernetes Service and Azure
Service Fabric, and by partnering with industry leaders like Docker, Mesosphere, and Kubernetes.
These products deliver container solutions that help companies build and deploy applications at cloud
speed and scale, whatever their choice of platform or tools.
Docker is becoming the de facto standard
in the container industry, supported by the most significant
vendors in the Windows and Linux ecosystems. (Microsoft is one of the main cloud vendors
supporting Docker.) In the future, Docker will probably be ubiquitous in any datacenter in the cloud or
on-premises.
In addition, the
microservices
architecture is emerging as an important
approach for distributed
mission-critical applications. In a microservice-based architecture, the application is built on a
collection of services that can be developed, tested, deployed, and versioned independently.
About this guide
This guide is an introduction to developing microservices-based applications and managing them
using containers. It discusses architectural design and implementation approaches using .NET and
Docker containers. To make it easier to get started with containers
and microservices, the guide
focuses on a reference containerized and microservice-based application that you can explore. The
sample application is available at the
eShopOnContainers
GitHub repo.
This guide provides foundational development and architectural guidance primarily at a development
environment level with a focus on two technologies: Docker and .NET. Our intention is that
you read
this guide when thinking about your application design without focusing on the infrastructure (cloud
or on-premises) of your production environment. You will make decisions about your infrastructure
later, when you create your production-ready applications. Therefore, this guide is intended to be
infrastructure agnostic and more development-environment-centric.
After you have studied this guide, your next step would be to learn about
production-ready
microservices on Microsoft Azure.
Version
This guide has been revised to cover
.NET 7
version along with many additional updates related to
the same “wave” of technologies (that is, Azure and additional third
-party technologies) coinciding in
time with the .NET
7 release. That’s why the book version has also been updated to version
7.0
.
What
this guide does not cover
This guide does not focus on the application lifecycle, DevOps, CI/CD pipelines, or team work. The
complementary guide
Containerized Docker Application Lifecycle with
Microsoft Platform and Tools
focuses on that subject. The current guide also does not provide implementation details on Azure
infrastructure, such as information on specific orchestrators.