Skip to content

Commit d223328

Browse files
authored
Update readme for WCF images (#160)
* update readme
1 parent c866e8e commit d223328

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

samples/README.DockerHub.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ The following tags are the latest stable versions of the most commonly used imag
44

55
- [`dotnetapp`](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/dotnetapp/Dockerfile)
66
- [`aspnetapp`](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/Dockerfile)
7+
- [`wcfservice`](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.web)
8+
- [`wcfclient`](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.client)
79

810
The [.NET Framework Docker samples](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/README.md) show various ways to use .NET Framework and Docker together. See [Building Docker Images for .NET Framework Applications](https://docs.microsoft.com/dotnet/framework/docker/) to learn more.
911

@@ -27,22 +29,45 @@ docker run -it --rm -p 8000:80 --name aspnet_sample microsoft/dotnet-framework-s
2729

2830
After the application starts, navigate to `http://localhost:8000` in your web browser. You need to navigate to the application via IP address instead of `localhost` for earlier Windows versions, which is demonstrated in [View the ASP.NET app in a running container on Windows](https://github.com/microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/README.md#view-the-aspnet-app-in-a-running-container-on-windows).
2931

32+
### Container sample: Run WCF service and client applications
33+
34+
Type the following command to run a sample WCF service application with Docker:
35+
36+
```console
37+
docker run -it --rm --name wcfservice_sample microsoft/dotnet-framework-samples:wcfservie
38+
```
39+
After the container starts, find the IP address of the container instance:
40+
```console
41+
docker inspect --format="{{.NetworkSettings.Networks.nat.IPAddress}}" wcfservice_sample
42+
172.26.236.119
43+
```
44+
Type the following Docker command to start a WCF client container, set environment variable HOST to the IP address of the wcfservice_sample container:
45+
```console
46+
docker run --name wcfclient_sample --rm -it -e HOST=172.26.236.119 microsoft/dotnet-framework-samples:wcfclient
47+
```
48+
3049
## Complete set of Tags
3150

3251
# Windows Server, version 1803 tags
3352

3453
- [`dotnetapp-windowsservercore-1803`, `dotnetapp`, `latest` (*samples/dotnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/dotnetapp/Dockerfile)
3554
- [`aspnetapp-windowsservercore-1803`, `aspnetapp` (*samples/aspnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/Dockerfile)
55+
- [`wcfservice-windowsservercore-1803`, `wcfservice` (*samples/wcfapp/Dockerfile.web*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.web)
56+
- [`wcfclient-windowsservercore-1803`, `wcfclient` (*samples/wcfapp/Dockerfile.client*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.client)
3657

3758
# Windows Server, version 1709 amd64 tags
3859

3960
- [`dotnetapp-windowsservercore-1709`, `dotnetapp`, `latest` (*samples/dotnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/dotnetapp/Dockerfile)
4061
- [`aspnetapp-windowsservercore-1709`, `aspnetapp` (*samples/aspnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/Dockerfile)
62+
- [`wcfservice-windowsservercore-1709`, `wcfservice` (*samples/wcfapp/Dockerfile.web*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.web)
63+
- [`wcfclient-windowsservercore-1709`, `wcfclient` (*samples/wcfapp/Dockerfile.client*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.client)
4164

4265
# Windows Server 2016 amd64 tags
4366

4467
- [`dotnetapp-windowsservercore-ltsc2016`, `dotnetapp`, `latest` (*samples/dotnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/dotnetapp/Dockerfile)
4568
- [`aspnetapp-windowsservercore-ltsc2016`, `aspnetapp` (*samples/aspnetapp/Dockerfile*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/aspnetapp/Dockerfile)
69+
- [`wcfservice-windowsservercore-ltsc2016`, `wcfservice` (*samples/wcfapp/Dockerfile.web*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.web)
70+
- [`wcfclient-windowsservercore-ltsc2016`, `wcfclient` (*samples/wcfapp/Dockerfile.client*)](https://github.com/Microsoft/dotnet-framework-docker/blob/master/samples/wcfapp/Dockerfile.client)
4671

4772
# What is the .NET Framework?
4873

@@ -52,7 +77,7 @@ The [.NET Framework](https://www.microsoft.com/net/framework) is a general purpo
5277

5378
You can use C#, F# and VB to write .NET Framework apps. C# is simple, powerful, type-safe, and object-oriented while retaining the expressiveness and elegance of C-style languages. F# is a multi-paradigm programming language, enabling both functional and object-oriented patterns and practices. VB is a rapid development programming language with the deepest integration between the language and Visual Studio, providing the fastest path to a working app.
5479

55-
The .NET Framework was first released by Microsoft in 2001. The latest version is [.NET Framework 4.7.1](https://www.microsoft.com/net/framework).
80+
The .NET Framework was first released by Microsoft in 2001. The latest version is [.NET Framework 4.7.2](https://www.microsoft.com/net/framework).
5681

5782
> https://docs.microsoft.com/dotnet/framework/
5883
@@ -73,3 +98,4 @@ See the following related repos for other application types:
7398
* [microsoft/dotnet](https://hub.docker.com/r/microsoft/dotnet/) for .NET Core images.
7499
* [microsoft/aspnet](https://hub.docker.com/r/microsoft/aspnet/) for ASP.NET Web Forms and MVC images.
75100
* [microsoft/dotnet-framework](https://hub.docker.com/r/microsoft/dotnet-framework/) for .NET Framework images (for web applications, see microsoft/aspnet).
101+
* [microsoft/wcf](https://hub.docker.com/r/microsoft/wcf/) for WCF images.

0 commit comments

Comments
 (0)