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

Developing Dockerized .NET Framework and .NET Core Applications

Docker is a platform for packaging, distributing, running, and managing 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: a 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 running as .NET console applications or .NET Windows Services. In the previous chapter we looked at Dockerizing legacy .NET applications without any code changes, but Docker has some simple expectations about how applications running inside containers should behave so that they can get the full benefit of the platform.

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

  • The integration points between Docker and your application
  • Configuring your application with config files and 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 a way Docker expects so that you can manage them fully with Docker.

We will cover the following topics in this chapter:

  • Building good citizens for Docker
  • Separating dependencies
  • Breaking up monolithic applications
主站蜘蛛池模板: 璧山县| 文安县| 宾川县| 克什克腾旗| 炉霍县| 谢通门县| 辽阳市| 松溪县| 巴南区| 乌兰浩特市| 阿坝| 天气| 肥西县| 黄石市| 鄂温| 易门县| 昌宁县| 离岛区| 扎囊县| 阳谷县| 宾川县| 杂多县| 七台河市| 涿鹿县| 安阳市| 新密市| 溆浦县| 绩溪县| 绥德县| 泰州市| 南靖县| 静安区| 防城港市| 丰原市| 页游| 汝南县| 祁门县| 绿春县| 屯昌县| 高雄县| 台南市|