In order to demonstrate the Deployment of a real Windows container application, we will create a Docker image for a voting application that is a small C# .NET Framework 4.8 web application for creating surveys. The application is implemented using the classic ASP.NET MVC 5 stack as it is the most suitable for demonstrating how to approach the containerization of a Windows application. Traditional .NET Framework applications, especially enterprise, heavily rely on Windows-only functionalities, such as Windows Communication Foundation (WCF). In many cases, you may be lucky to easily migrate to .NET Core and use Linux containers for hosting your application, but for some parts of the .NET Framework stack, it may never happen, even in .NET 5.
There are a few assumptions concerning our voting application, as follows:
...