Skip to content

hongyu69/dotnet-framework-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Version of Common Tags

The following tags are the latest stable versions of the most commonly used images. The complete set of tags is listed further down.

The .NET Framework Docker samples show various ways to use .NET Framework and Docker together.

Watch dotnet/announcements for Docker-related .NET announcements.

Container sample: Run a simple application

Type the following command to run a sample console application:

docker run --rm microsoft/dotnet-framework-samples

Container sample: Run a web application

Type the following command to run a sample web application:

docker run -it --rm -p 8000:80 --name aspnet_sample microsoft/dotnet-framework-samples:aspnetapp

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.

Complete set of Tags

Windows Server, version 1803 amd64 tags

Windows Server, version 1709 amd64 tags

Windows Server 2016 amd64 tags

For more information about these images and their history, please see (microsoft/dotnet-framework-docker).

What is the .NET Framework?

The .NET Framework is a general purpose development platform maintained by Microsoft. It is the most popular way to build client and server applications for Windows and Windows Server. It is included with Windows, Windows Server and Windows Server Core. It includes server technologies such as ASP.NET Web Forms, ASP.NET MVC and Windows Communication Framework (WCF) applications, which you can run in Docker containers.

.NET has several capabilities that make development easier, including automatic memory management, (runtime) generic types, reflection, asynchrony, concurrency, and native interop. Millions of developers take advantage of these capabilities to efficiently build high-quality web and client applications.

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.

The .NET Framework was first released by Microsoft in 2001. The latest version is .NET Framework 4.7.2.

https://docs.microsoft.com/dotnet/framework/

dotnet-icon

.NET Framework Docker Samples

The .NET Framework Docker samples show various ways to use .NET Framework and Docker together.

Building .NET Framework Apps with Docker

Image variants

The microsoft/dotnet-framework images come in different flavors, each designed for a specific use case.

4.7.2

This is the primary image. If you are unsure about what your needs are, you probably want to use this one.

This image is for .NET Framework 4.0 and later version applications. It is based on the Windows Server Core image.

4.7, 4.6.2, 4.7.1

These images are for applications that need a specific .NET Framework version and have not been tested with .NET Framework 4.7.2. It is based on the Windows Server Core image.

3.5

This image is for .NET Framework 3.5 and earlier version applications. It is based on the Windows Server Core image.

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Licenses

The .NET Framework images use the same license as the Windows Server Core base image.

Related Repositories

.NET Core Docker Hub repos:

.NET Framework Docker Hub repos:

About

The repo for the official docker images for .NET Framework on Windows Server Core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 61.7%
  • C# 26.2%
  • PowerShell 9.0%
  • Groovy 2.0%
  • Shell 1.1%