My server only supports ASP .NET 3.5 max. I am learning to develop MVC 4.
Is it possible to run MVC 4 on a .NET 3.5 machine?
Of course I have no right to alter the server machine's configuration.
Thank you
No. It use components which was implemented in higher framework versions and will not be available.
This is requirements for MVC 4:
System requirements Supported operating systems: Windows 7, Windows
Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 x64 editions,
Windows Server 2003 Service Pack 2, Windows Server 2008, Windows
Server 2008 R2, Windows Vista Service Pack 2, Windows XP Service Pack
3
PowerShell 2.0, .NET 4, ASP.NET 4, and Visual Studio 2010 SP1 or
Visual Web Developer 2010 SP1 are required to use this feature.
Unfortunately no, you cannot. ASP.NET MVC 3 and 4 both require the .NET Framework 4.0 (they also require Visual Studio 2010 or later; if you're using VS2008 and/or .NET 3.5 then you're stuck with ASP.NET MVC 2.0).
Out of curiosity, what server are you running? Windows Server 2003, with the exception of Small Business Server 2003, fully supports the .NET Framework 4.0. The next older OS is Windows 2000, but that doesn't run .NET 3.5. My only other guess is that you have a crappy webhost?
MVC 4 targets the .NET 4.5 framework. Check out this Q&A for a little more detail: https://softwareengineering.stackexchange.com/questions/157717/what-is-dependency-of-asp-net-mvc-on-net-framework-and-how-to-use-it-with-net
Related
I have a Windows Server 2008 R2 SP1 machine with IIS 7.5. In IIS there is an running asp.net mvc 3 app targeting .NET 4.0 framework. I need to publish an asp.net mvc 5 EF 6 targeting .NET 4.5 framework.
I've already installed .NET 4.5. Now I have to register .NET 4.5 in IIS, my question is: Does aspnet_regiis command crash running apps on IIS? Is it required to restart the server or the site?
If you have firstly installed .NET 4.0, and registered it on IIS 7.5. Then I don't think you need to run aspnet_regiis.exe after installing .NET 4.5.
I have old Web Client Software Factory project built with VS2008, WCSF 2008 and MS Enterprise Library 3.1
I have to make changes to the project so I migrated the solution to Visual Studio 2012. It compiles fine with .NET 3.5 and runs on IIS 7.5 as 32bit web application (classic mode asp.net v2.0).
Is it possible to migrate such project to .NET 4.5 (64 bit)?
My guess is no. The last version of WCSF is 2010 and for the MS Enterprise Library is 5.0.
I think they both are built on .NET 3.5
Did anyone try such migration before?
Thanks
I'm planning to do the same thing for couple of my applications.
I did checked out on MSDN and the WCSF project discussion on codeplex seems there's no future roadmap for this WCSF.
See:
Web Client Software Factory
Roadmap for 2012 and beyond ?
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.
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.
Can we use the DLL that getting from installation of microsoft chart control for f/w 3.5 service pack1 into the special application where there is not setup service pack1 for .Net 3.5?
I believe that they require SP1 to be installed:
System Requirements
Supported Operating Systems: Windows Server 2003 Service Pack 2; Windows Server 2008; Windows Vista; Windows XP Service Pack 3
.NET Framework: .NET Framework 3.5 SP1