-
Notifications
You must be signed in to change notification settings - Fork 345
Document recommended pattern for installing .NET Framework 3.5 #1232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 16 in README.aspnet.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| ASP.NET is a high productivity framework for building Web Applications using Web Forms, MVC, Web API and SignalR. | ||
|
|
||
| This image contains: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 15 in README.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| The [.NET Framework](https://www.microsoft.com/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 Foundation (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. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 16 in README.runtime.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| This image contains the .NET Framework runtimes and libraries and is optimized for running .NET Framework apps in production. | ||
|
|
||
| Watch [discussions](https://github.com/microsoft/dotnet-framework-docker/discussions/categories/announcements) for Docker-related .NET announcements. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 18 in README.samples.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| These images contain sample .NET Framework, ASP.NET and WCF applications. | ||
|
|
||
| Watch [discussions](https://github.com/microsoft/dotnet-framework-docker/discussions/categories/announcements) for Docker-related .NET announcements. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 16 in README.sdk.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| This image contains the .NET Framework SDK which is comprised of the following parts: | ||
|
|
||
| 1. .NET Framework Runtime | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,11 @@ | |
|
|
||
| ## About | ||
|
|
||
| > [!CAUTION] | ||
| > .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
|
Check failure on line 14 in README.wcf.md
|
||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| 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](https://github.com/microsoft/dotnet-framework-docker/discussions/categories/announcements) for Docker-related .NET announcements. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # How to install .NET Framework 3.5 on Windows Server Core container images | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thoughts on commenting on the security update aspect of these patterns? By that I mean including a comment that this will always include the latest security updates and that rebuilds are necessary as new security updates are released. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a section for this, let me know what you think. |
||
|
|
||
| ## Windows Server Core 2022 and later | ||
|
|
||
| Windows Server Core 2022 and later container images can install [.NET Framework 3.5](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-non-language-fod?view=windows-11#-net-framework) as a [Feature on Demand](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-v2--capabilities?view=windows-11). | ||
lbussell marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```Dockerfile | ||
| # escape=` | ||
| FROM mcr.microsoft.com/windows/servercore:ltsc2022-amd64 | ||
|
|
||
| RUN dism /Online /Add-Capability /CapabilityName:NetFx3 | ||
| ``` | ||
|
|
||
| ## Windows Server Core 2019 and earlier | ||
|
|
||
| Windows Server Core 2019 and earlier can use Windows Update to install .NET Framework 3.5. See [Deploy .NET Framework 3.5 by using Deployment Image Servicing and Management (DISM)](https://learn.microsoft.com/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management--dism) for more info. | ||
|
|
||
| ```Dockerfile | ||
| # escape=` | ||
| FROM mcr.microsoft.com/windows/servercore:ltsc2019-amd64 | ||
|
|
||
| RUN ` | ||
| # Enable Windows Update service | ||
| sc config wuauserv start= auto ` | ||
| # Install .NET Framework 3.5 | ||
| && dism /Online /Enable-Feature /FeatureName:NetFx3 /All ` | ||
| # Disable Windows Update service | ||
| && sc config wuauserv start= disabled | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| {{ | ||
|
|
||
| _ ARGS: | ||
| top-header: The string to use as the top-level header. | ||
| readme-host: Moniker of the site that will host the readmes | ||
|
|
||
| }}{{ARGS["top-header"]}} About | ||
|
|
||
| {{if ARGS["readme-host"] = "github":> [!CAUTION] | ||
| >^else:> **NOTICE**:}} .NET Framework 3.5 images for Windows Server 2025 will no longer be published after May 13th. | ||
| > Guidance for installing .NET Framework 3.5 in your own container images can be found [here](https://github.com/microsoft/dotnet-framework-docker/blob/main/documentation/install-netfx3.md#windows-server-core-2022-and-later). | ||
| > See the [announcement](https://github.com/dotnet/announcements/issues/349) for more details. | ||
|
|
||
| {{InsertTemplate(join(filter(["About", when(IS_PRODUCT_FAMILY, "product-family", SHORT_REPO), "md"], len), "."))}} | ||
|
|
||
| Watch [discussions](https://github.com/microsoft/dotnet-framework-docker/discussions/categories/announcements) for Docker-related .NET announcements. |
Uh oh!
There was an error while loading. Please reload this page.