4.8.1docker pull mcr.microsoft.com/dotnet/framework/wcf:4.8.1
4.8docker pull mcr.microsoft.com/dotnet/framework/wcf:4.8
The Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application.
Watch discussions for Docker-related .NET announcements.
The .NET Framework Docker samples show various ways to use .NET Framework and Docker together.
You can quickly run a container with a pre-built sample WCF Docker image, based on the WCF Docker sample.
Type the following Docker command to start a WCF service container:
docker run --name wcfservicesample --rm -it mcr.microsoft.com/dotnet/framework/samples:wcfserviceFind the IP address of the container instance.
docker inspect --format="{{.NetworkSettings.Networks.nat.IPAddress}}" wcfservicesample
172.26.236.119Type the following Docker command to start a WCF client container, set environment variable HOST to the IP address of the wcfservicesample container:
docker run --name wcfclientsample --rm -it -e HOST=172.26.236.119 mcr.microsoft.com/dotnet/framework/samples:wcfclientIf you created your app using an earlier version of .NET Framework, you can generally upgrade it to .NET Framework 4.8+ easily. Additionally, .NET Framework 4.8 and 4.8.1 can run apps that were built targeting any version of .NET Framework 4.
- .NET Framework migration guide
- Application compatibility in .NET Framework.
- Version compatibility in .NET Framework
.NET Framework:
- dotnet/framework: .NET Framework
- dotnet/framework/sdk: .NET Framework SDK
- dotnet/framework/aspnet: ASP.NET Web Forms and MVC
- dotnet/framework/runtime: .NET Framework Runtime
- dotnet/framework/samples: .NET Framework, ASP.NET and WCF Samples
.NET:
- dotnet: .NET
- dotnet/samples: .NET Samples
| Tags | Dockerfile | OS Version |
|---|---|---|
| 4.8.1-20251014-windowsservercore-ltsc2025, 4.8.1-windowsservercore-ltsc2025, 4.8.1 | Dockerfile | Windows Server Core 2025 |
| 4.8.1-20251014-windowsservercore-ltsc2022, 4.8.1-windowsservercore-ltsc2022, 4.8.1 | Dockerfile | Windows Server Core 2022 |
| 4.8-20251014-windowsservercore-ltsc2019, 4.8-windowsservercore-ltsc2019, 4.8, latest | Dockerfile | Windows Server Core 2019 |
| 4.8-20251014-windowsservercore-ltsc2016, 4.8-windowsservercore-ltsc2016, 4.8, latest | Dockerfile | Windows Server Core 2016 |
Tags not listed in the table above are not supported. See the Supported Tags Policy. See the full list of tags for all supported and unsupported tags.
- We update the supported .NET Framework images within 12 hours of any updates to their base images (e.g. windows/servercore:ltsc2019, windows/servercore:ltsc2022, etc.).
- We publish .NET Framework images as part of releasing new versions of .NET Framework including major/minor and servicing.
- Microsoft Container Images Legal Notice: applies to all .NET Framework container images
- Windows Base Image License: applies to all .NET Framework container images
- Visual Studio Tools License: applies to all .NET Framework SDK container images