IIS and Server OS requirements for ASP.NET 4 - asp.net

This only references requirements for clients:
http://msdn.microsoft.com/en-us/library/8z6watww%28v=VS.100%29.aspx
I am looking for similar documentation in reference not just for .NET 4, but ASP.NET 4 and what IIS versions, OS SP's, etc. are required. I would like to see if there are any pitfalls to requesting IT to install ASP.NET 4 and MVC 3 on our server. Don't want to have egg on my face :)

Per the documentaiton on the installer download for .NET 4.0 ( http://www.microsoft.com/download/en/details.aspx?id=17851)
Additional Requirements for Server
Installation
If you have to perform a server
installation, your computer must have
the following software in addition to
the basic requirements:
•Internet Information Services (IIS)
version 6.0 or later. To access the
features of ASP.NET, IIS with the
latest security updates must be
installed before the .NET Framework is
installed. ASP.NET is supported only
on Windows XP Professional, Windows
Server 2003, Windows Server 2008, and
Windows Server 2008 R2.
So it will run in IIS 6.0 or above. If you want to know which operating systems support asp.net 4.0, that would be any operating system that supports IIS version 6.0 or above. This jives with my comment on your question.
That said, the biggest thing to watch out for is that you have to configure any .NET 4.0 IIS application to use a different applicaiton pool than 2.0, 3.0, or 3.5. There's more info on this here: http://johan.driessen.se/posts/getting-an-asp.net-4-application-to-work-on-iis6

WinXP has IIS 5 and the .net framework and ASP.NET 4 is supported on it. For server technologies, IIS6 and newer are supported, as Server 2003 which has IIS6 is the oldest server technology that supports ASP.NET 4.

Related

ASP.NET 4.8 Feature unavailable in IIS 8.5 (Windows Server 2012 R2)

Windows Server 2012 R2, IIS 8.5, .NET 4.8 is installed (verified via the Registry, see screen-shot).
On my Windows 10 machine, I see the option to select the ASP.NET 4.8 feature from the "Turn Windows Features on or off" dialog. However, in the Add Server Role wizard on Windows 2012 R2, I only see ASP.NET 4.5 option listed. See screen-shot for comparison.
My question: Is that normal for Windows Server 2012 R2 to only show an ASP.NET 4.5 option? Even if a higher version of the .NET Framework (e.g. 4.8) is installed?
As Windows Server default installation ships with a specific .NET Framework (4.5 for example), Microsoft hard coded the version names (like .NET Framework 4.5) in certain UI elements, such as Server Manager.
That becomes a critical problem, when you upgrade that to a newer .NET Framework release (such as 4.6), because the installer does not update those hard coded names.
This issue has been well known for years, so your only option is to accept it.
My solution is install visual stuido on IIS host and Change properties to 4.8 Framewoker version (https://www.grapecity.com/kb/how-to-change-the--net-framework-version-in-visual-studio)
This solution make my project can run System.IO.Compression.ZipFile .
the ref cant run on default 4.5 version.

Use SSL3 and TLS with .Net Core ASP.Net MVC

I start working on new Web App and still doing the research about the framework to pick. One of the requirements: the app will be deployed to IIS on Windows Server 2008 that has SSL3 certificate. Also the app will be deployed to newer Windows Server with TLS certificate. So the issue I'm facing is similar to this question.
Will .Net Core ASP.Net MVC support both SSL3 and TLS* or Should I go with standard .Net Framework?
If not, What version of .Net Framework to pick?
I could be wrong here, but SSL3 is very old and has succeeded by replaced by TLS 1.2.
If the server is running Windows Server 2008 R2 SP1 (release 2, service pack 1) or greater then I would recommending going with .NET Core.
However, if the server is Windows Server 2008 without R2 then you will need to use an older version of the .NET Framework say 4.6.1.
Before jumping in you should sit down with the decision makers point out that developing a solution on legacy infrastructure holds serious security and business risks.

No ASP.NET features shown in IIS 7.5

I'm having an issue in IIS 7.5 where the ASP.NET feature section isn't showing on my web application.
My environment: Windows 2008 R2 SP1, IIS 7.5 (7.5.7600), .NET Framework 4.0
My issue is similar to the issue posted here: No asp.net features on IIS 7.5, only my environment is different. The 'add features' fix mentioned in that post doesn't appear to work in Windows Server 2008, as I'm not seeing a simple "ASP.NET" feature that can be selected.
I tried running the aspnet_regiis tool as administrator against .NET 4.0 with no luck. The application pool selected for the web application is currently configured to use .NET 4.0. This application is functional, so I'm assuming that .NET 4.0 is installed correctly, but I'd like to be able to configure a few more things that are in the ASP.NET section.
Try Roles > Right Click Web Server (IIS) > Add Role Services > Application Development to turn on the ASP.Net features in IIS
The UI is a bit different in the newer versions of Windows Server. Here is where you have to enable ASP.Net in order to get it working on IIS
The same issue but in a developer machine it may solve:
Windows Features - Internet Information Services - World Wide Web Services - Application Development Features - ASP.NET 3.5 + ASP.NET 4.8

Can I run ASP.NET 4.0 on Windows XP IIS6?

Can I run ASP.NET 4.0 websites on Windows XP II6 or do I need Windows 7 with II7 in order to run it?
Yes you can run ASP.Net 4 applications on IIS 6, but some features will not be available like some of the additions to web publishing added to Visual Studio 2010 and the Auto Start feature to mention a few.
Of course don't forget to give it a different App Pool than the other applications using the other .Net versions.

Does Server Core 2008 support asp.net?

Does Server Core 2008 support asp.net? I see references online saying that it isn't supported, but they are all old references from CTPs.
Server Core 2008 does not support ASP.NET. However, Windows 2008 R2 Server Core supports .NET up to 3.5 out of the box, and since 2011-02-21 it can also run .NET 4.0 apps. To enable .NET 4.0 support, you need to install Service Pack 1 and the .NET 4.0 Standalone Installer for Server Core.
No.
Answer here:
http://www.microsoft.com/windowsserver2008/en/us/compare-core-installation.aspx
"ASP.NET is not available with Server Core installation option in any edition"
The short answer, as others have said: no.
The longer answer: IIS is there, classic ASP is there, and other server-side languages such as PHP will work, too. What's missing is .NET Framework, and adding it to Server Core is in the works.
Currenly the .NET Framework is not on Server Core, which means ASP.NET is currently not available. This is something the .NET team wants to add and we're working on adding it as soon as possible.
No
With the new Server Core 2008 R2 you can run asp.net in IIS, but only up to version 3.5. 4.0 is not supported since you cant install .Net 4.0 on Server Core 2008 R2 at all.

Resources