Clarification on ASP.NET Core Hosting Compatibility with IIS on Windows Server 2012 R2 and Windows Server 2012 Standard

Prathik M 0 Reputation points
2024-11-07T10:26:47.2366667+00:00

I am currently evaluating the hosting capabilities of ASP.NET Core applications on both Windows Server 2012 R2 and Windows Server 2012 Standard, and I need confirmation regarding their compatibility with IIS. Specifically, I would like to understand whether ASP.NET Core applications can be hosted using IIS on both Windows Server 2012 R2 and Windows Server 2012 Standard with the ASP.NET Core Module (ANCM), and if there are any special requirements or limitations for this setup on either version. From my research, I understand the following:

  • ASP.NET Core is supported on both Windows Server 2012 R2 and Windows Server 2012 Standard when using Kestrel as the web server.
  • The ASP.NET Core Hosting Bundle (which includes the ASP.NET Core Module) is required for IIS to reverse proxy requests to Kestrel.
  • ASP.NET Core Module (ANCM) is supported on Windows Server 2012 R2, allowing IIS to function as a reverse proxy for ASP.NET Core applications.

Could you please confirm:

  1. Whether ASP.NET Core applications can be hosted using IIS with the ASP.NET Core Module on Windows Server 2012 Standard in addition to Windows Server 2012 R2?
  2. If there are any specific version requirements, considerations, or limitations when hosting ASP.NET Core on IIS for either of these versions of Windows Server?
  3. Are there any known issues, configuration settings, or best practices that should be considered when deploying ASP.NET Core applications in these environments?

Any additional guidance or confirmation would be greatly appreciated. I look forward to your response.

Thank you for your time and support.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,602 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 67,251 Reputation points
    2024-11-08T16:52:27.17+00:00

    as windows server 2012 / 2012 r2 is out of support, there is no official support for .net 8 or the hosting module. it may work, but any update or patch may break it.

    best practice wold be to host on a supported O/S.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.