Skip to content

Latest commit

 

History

History
121 lines (87 loc) · 7.79 KB

README.aspnet.md

File metadata and controls

121 lines (87 loc) · 7.79 KB

Featured Tags

  • 4.8
    • docker pull mcr.microsoft.com/dotnet/framework/aspnet:4.8
  • 3.5
    • docker pull mcr.microsoft.com/dotnet/framework/aspnet:3.5

About This Image

ASP.NET is a high productivity framework for building Web Applications using Web Forms, MVC, Web API and SignalR.

This image contains:

  • Windows Server Core as the base OS
  • IIS 10 as Web Server
  • .NET Framework (multiple versions available)
  • .NET Extensibility for IIS

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

How to Use the Image

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

Container sample: Run an ASP.NET application

You can quickly run a container with a pre-built sample ASP.NET Docker image, based on the [ASP.NET Docker sample].

Type the following Docker command:

docker run --name aspnet_sample --rm -it -p 8000:80 mcr.microsoft.com/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.

Related Repos

.NET Framework:

.NET:

Full Tag Listing

Windows Server Core 2022 amd64 Tags

Tag Dockerfile
4.8-20211109-windowsservercore-ltsc2022, 4.8-windowsservercore-ltsc2022, 4.8, latest Dockerfile
3.5-20211109-windowsservercore-ltsc2022, 3.5-windowsservercore-ltsc2022, 3.5 Dockerfile

Windows Server Core, version 20H2 amd64 Tags

Tag Dockerfile
4.8-20211109-windowsservercore-20H2, 4.8-windowsservercore-20H2, 4.8, latest Dockerfile
3.5-20211109-windowsservercore-20H2, 3.5-windowsservercore-20H2, 3.5 Dockerfile

Windows Server Core, version 2004 amd64 Tags

Tag Dockerfile
4.8-20211109-windowsservercore-2004, 4.8-windowsservercore-2004, 4.8, latest Dockerfile
3.5-20211109-windowsservercore-2004, 3.5-windowsservercore-2004, 3.5 Dockerfile

Windows Server Core 2019 amd64 Tags

Tag Dockerfile
4.8-20211109-windowsservercore-ltsc2019, 4.8-windowsservercore-ltsc2019, 4.8, latest Dockerfile
4.7.2-20211109-windowsservercore-ltsc2019, 4.7.2-windowsservercore-ltsc2019, 4.7.2 Dockerfile
3.5-20211109-windowsservercore-ltsc2019, 3.5-windowsservercore-ltsc2019, 3.5 Dockerfile

Windows Server Core 2016 amd64 Tags

Tag Dockerfile
4.8-20211109-windowsservercore-ltsc2016, 4.8-windowsservercore-ltsc2016, 4.8, latest Dockerfile
4.7.2-20211109-windowsservercore-ltsc2016, 4.7.2-windowsservercore-ltsc2016, 4.7.2 Dockerfile
4.7.1-20211109-windowsservercore-ltsc2016, 4.7.1-windowsservercore-ltsc2016, 4.7.1 Dockerfile
4.7-20211109-windowsservercore-ltsc2016, 4.7-windowsservercore-ltsc2016, 4.7 Dockerfile
4.6.2-20211109-windowsservercore-ltsc2016, 4.6.2-windowsservercore-ltsc2016, 4.6.2 Dockerfile
3.5-20211109-windowsservercore-ltsc2016, 3.5-windowsservercore-ltsc2016, 3.5 Dockerfile

You can retrieve a list of all available tags for dotnet/framework/aspnet at https://mcr.microsoft.com/v2/dotnet/framework/aspnet/tags/list.

Version Compatibility

Version Tag OS Version Supported .NET Versions
4.8 windowsservercore-20H2, windowsservercore-2004, windowsservercore-ltsc2019, windowsservercore-ltsc2016 4.8
4.7.2 windowsservercore-ltsc2019, windowsservercore-ltsc2016 4.7.2
4.7.1 windowsservercore-ltsc2016 4.7.1
4.7 windowsservercore-ltsc2016 4.7
4.6.2 windowsservercore-ltsc2016 4.6.2
3.5 windowsservercore-20H2, windowsservercore-2004 4.8, 3.5, 3.0, 2.5
3.5 windowsservercore-ltsc2019 4.7.2, 3.5, 3.0, 2.5
3.5 windowsservercore-ltsc2016 4.6.2, 3.5, 3.0, 2.5

Support

See the .NET Framework Lifecycle FAQ

Image Update Policy

  • We update the supported .NET Framework images within 12 hours of any updates to their base images (e.g. windows/servercore:20H2, windows/servercore:ltsc2019, etc.).
  • We publish .NET Framework images as part of releasing new versions of .NET Framework including major/minor and servicing.

Feedback

License