官术网_书友最值得收藏!

Developing Dockerized .NET and .NET Core Applications

Docker is a platform for packaging, distributing, and running applications. When you package your applications as Docker images, they all have the same shape, you can deploy, manage, secure, and upgrade them all in the same way. All Dockerized applications have the same requirements to run them: the Docker Engine running on a compatible operating system. Applications run in isolated environments, so you can host different application platforms and different platform versions on the same machine with no interference.

In the .NET world, this means you can run multiple workloads on a single Windows machine, they could be ASP.NET websites or Windows Communication Foundation (WCF) apps on .NET console applications or .NET Windows Services. You saw in the previous chapter that you can Dockerize legacy .NET applications without any code change, but Docker has some simple expectations about how applications running inside containers should behave, so they can get the full benefit of the platform.

In this chapter, you'll look at how to build applications so they can take complete advantage of the Docker platform, including the following:

  • The integration points between Docker and your application
  • Configuring your application with environment variables
  • Monitoring applications with health checks
  • Running distributed solutions with components in different containers

This will help you develop .NET and .NET Core applications that behave in the way Docker expects, so you can manage them fully with Docker.

主站蜘蛛池模板: 沙洋县| 中江县| 区。| 含山县| 垦利县| 邵阳县| 普安县| 深州市| 双辽市| 汾西县| 同江市| 沽源县| 噶尔县| 登封市| 永和县| 南溪县| 玉林市| 罗山县| 宜都市| 金坛市| 马鞍山市| 弋阳县| 崇阳县| 芮城县| 麻栗坡县| 酒泉市| 合川市| 永善县| 宾阳县| 莫力| 通渭县| 扶绥县| 呼图壁县| 新和县| 陵川县| 平利县| 泸州市| 云霄县| 读书| 花垣县| 封开县|