Does Azure App Service support ASP.NET 4.6.1 version? - asp.net

I need to deploy n ASP.NET 4.6.1 application into Azure App Service. Currently only ASP.NET 3.5 and ASP.NET 4.8 seem to be available options in the Azure portal. Is this a hard requirement, i.e. is it mandatory to update my ASP.NET solutions to 4.8 version prior to deploying to Azure App Service?

.NET Framework 4.8 builds on previous versions of .NET Framework 4.x by adding many new fixes and several new features while remaining a very stable product.
You can safely use ASP.NET 4.8 version in Azure App Service for your ASP.NET 4.6.1 application.
https://learn.microsoft.com/en-us/dotnet/framework/whats-new/#introducing-net-framework-48

Related

How to upgrade ASPNet Identity in .Net Framework web app to work with ASPNet Core 7 Identity?

With .Net 7 Microsoft has released ASP.NET Core Identity 7
https://www.nuget.org/packages/Microsoft.AspNetCore.Identity.EntityFrameworkCore/
I am using two applications in one project
.Net Framework 4.7.2 ASPNet MVC web application
.Net 7 MVC web application
The # 2 is using newer version of identity and has different mechanism of validating passwords.
Therefore, the same account does not log-into both applications at the same time.
Looking for a solution to either upgrade app #1 with latest version of idendity core but unfortunately core libraries are not supported in .Net Framework.
Any advice please...
I tried installing ASP.NET Core Identity 7 package into .Net Framework 4.7.2 web app but failed.
https://www.nuget.org/packages/Microsoft.AspNetCore.Identity.EntityFrameworkCore/

Can I upgrade my .net 4.8 webforms webapp to .net 5.0?

I have a medium-sized Web Application project on Framework 4.8. It has Webforms and MVC (and webapi) in it. I am confused by the recent 5.0 announcements that seem to indicate that everything should now be 5.0. After downloading the new SDK, and Visual Studio 16.8 preview4, I am still not able to change the target framework of my main webapp project in its settings. Am I missing a step? Can I upgrade my .net 4.8 app to 5.0?
Web Forms is not included in .NET 5. You will have to eliminate Web Forms from your application if you want to upgrade to .NET 5.
Rich Lander (Program Manager on the .NET team at Microsoft) explicitly pointed this out on Twitter.

IIS7 Application Pool 4.5 framework

I built a web app using dotNet 4.5. I went into IIS and created a new app pool but there was not 4.5 option, only 4.0 and 2.0. I went to install 4.5 and it says "already installed". I do a google search and see infact the registry and explorer show it to be installed.
What gives?
Although the .NET Framework Version column shows "v2.0" and "v4.0" for .NET Framework versions, these equate to ASP.NET 3.5 and ASP.NET 4.5.
Due to the internals of how application pools bind to .NET Framework versions, the actual version name written to configuration (and thus displayed in the tool) corresponds to the original .NET Framework file version.
Your question is tagged as IIS7 but the link information regarding .net versions is applicable.
Soruce: http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45

Running ASP.NET vNExt on .net 4.0

If I have a server running on .NET Framework 4.0.
Will it be possible to run ASP.NET vNext on top of that? Or will a higher framework version be required?
As stated on Asp.NET vNext's page on GitHub the minimum requirements for Windows as follows:
Windows 7 or Windows Server 2008 R2.
.NET 4.5.1 for hosting in IIS
However, ASP.NET vNext will let you deploy different versions of the .NET Framework via NuGet packages for different apps on server as stated here. But it's not .NET Framework 4.0 anyway. So, you need the higher version.

Web API IIS Requirements

Does the ASP.NET Web API require any particular version of IIS to run? I'm interested in knowing for each version of Web API, e.g. if Web API 2.0 requires IIS7.5 and Web API 2.1 requires IIS8 for instance. I can't seem to find this information anywhere.
ASP.NET Web API is part of ASP.NET stack, and therefore is supported on all IIS releases if the targeting .NET Framework is supported also on that Windows version.
First release of ASP.NET Web API (version 4.0.20710) and its patched version (4.0.30506) requires .NET 4, which covers all Windows versions starting from Windows XP. That means IIS 5.1 and above should support this release of Web API.
Second release, called ASP.NET Web API 2 (version 5.0.0), and above (aka 2.1 and 2.2) requires .NET 4.5, which covers all Windows versions starting from Windows Vista. That means IIS 7.0 and above should support ASP.NET Web API 2.*.
References:
The NuGet Packages:
https://www.nuget.org/packages/Microsoft.AspNet.WebApi
.NET Framework 4 Download (check System Requirements):
http://www.microsoft.com/en-us/download/details.aspx?id=22833
.NET Framework 4.5 Download (check System Requirements):
http://www.microsoft.com/en-us/download/details.aspx?id=30653
IIS Windows Matrix:
http://support.microsoft.com/kb/224609

Resources