Introducing our new CEO Don Johnson - Read More

ASP.NET

Verified Publisher

dotnet/framework/aspnet

By Microsoft

Updated 9 months ago

Official images for ASP.NET

1

Featured tags

  • 4.8.1
    • docker pull mcr.microsoft.com/dotnet/framework/aspnet:4.8.1
  • 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

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 discussions for Docker-related .NET announcements.

Usage

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.

Version Compatibility

Version TagOS VersionSupported .NET Versions
4.8.1windowsservercore-ltsc20224.8.1
4.8windowsservercore-ltsc2022, windowsservercore-ltsc2019, windowsservercore-ltsc20164.8
4.7.2windowsservercore-ltsc2019, windowsservercore-ltsc20164.7.2
4.7.1windowsservercore-ltsc20164.7.1
4.7windowsservercore-ltsc20164.7
4.6.2windowsservercore-ltsc20164.6.2
3.5windowsservercore-ltsc20224.7.2, 3.5, 3.0, 2.5
3.5windowsservercore-ltsc20194.7.2, 3.5, 3.0, 2.5
3.5windowsservercore-ltsc20164.6.2, 3.5, 3.0, 2.5

Related repositories

.NET Framework:

.NET:

Full Tag Listing

View the current tags at the Microsoft Artifact Registry portal or on GitHub.

Support

Lifecycle

Image Update Policy

  • 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.

Feedback

License

Docker Pull Command

docker pull mcr.microsoft.com/dotnet/framework/aspnet