I have finished my asp.net mvc 4 web application and want to publish on my server. I know mvc 4 needs IIS 7.5.
I have windows server R2 enterprise installed on my machine with IIS 7.0
Does it possible to update IIS 7.0 to 7.5?
If it not does it possible to install 7.5 on R2?
Please provide iis 7.5 download link :)
You can't install IIS 7.5 on your Server 2008. But this won't be a problem. MVC 4 is compatible with IIS 7.0
Related
According to this announcement ASP.NET 5 discontinued helios support and embraced new hosting model that involves using HttpPlatformHandler to spawn dnx instances.
Until now it was definitely possible to run ASP.NET applications on IIS 7.5 and as far as I understand HttpPlatformHandler is for IIS 8 and 8.5. Does this mean that there will be no supported scenario for hosting ASP.NET 5 in IIS < 8 (eg. 7.5)? Are there any other alternative to HttpPlatformHandler?
As mentioned by Damian Edwards both in this GitHub thread and the Community Standup of October 6h, HttpPlatformHandler will be available for IIS 7.5 in the future.
Windows 7 has IIS 7.5, not IIS 7. We require IIS 7.5 as a minimum and the HttpPlatformHandler is being updated to support running on IIS 7.5
I'm considering using ASP.Net 5 for a new project, but I need to know what the minimum IIS version will be to host and run this application.
According to ASP.Net 5 Home on Github you need at least Windows 7 or Server 2008 R2 and .NET 4.5.1 for hosting in IIS.
Windows 7 and Server 2008 comes with IIS 7.5.
Also, refer to .NET Framework System Requirements
I have got MVC website. based on .NET Framework 4.5.
I am trying to deploy the website on IIS 6.0
Here are the steps I have taken
Application Pool:
I have created application pool: Company.Attendance.
NOTE: Nowhere it asked me which .NET Version I am using?
Website
a. Create new website.
b. Description: company.attendance
c. IpAddress: Server Ip Address
d. Port: 80
e. Host Header for the website: [I left blank]
f. Path: ../../Views/Home/ [All views are defined here]
g. Permissions: Read, Run, Execute, Write
h. In the website properties, under tab Home Directory I have selected the application pool created above
i. In Home Directory TAB, under Configuration.
j. I inserted aspnet_iapi.dll
When I try to browse the application. I get the following error: Page cannot be found.
Can one tell me detailed steps to deploy mvc application [.Net Framework 4.5] on IIS 6.0 [Windows Server 2003].
Regards
I am trying to deploy the website on IIS 6.0
You can't. .NET Framework 4.5 requires Windows Server 2008 at least as can be seen in the System Requirements page:
System requirements
Supported Operating System
Windows 7 Service Pack 1
Windows Server 2008 R2 SP1
Windows Server 2008 Service Pack 2
Windows Vista Service Pack 2
Windows Vista SP2 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2008 SP2 (x86 and x64)
Hardware Requirements:
1 GHz or faster processor
512 MB of RAM
850 MB of available hard disk space (x86)
2 GB hard drive (x64)
The latest .NET framework version you could install on Windows Server 2003 is .NET 4.0.
You need at least IIS 7.0.
Here are the requirements for .NET 4.5 framework:
http://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx
You're going to have to use .NET 4.0, which porting your project over shouldn't be too painstaking.
Take your project and change compatibility to 4.0 for framework.
Fix some of the errors, and EF errors you may get, and repush to the IIS 6.0 server.
You need to ensure all the runtimes are installed, and the app is running on the
.NET 4.0 pool.
IIS 6 is part of Windows Server 2003 (and technically XP 64-bit).
.Net 4.5 cannot be installed on Windows Server 2003, thus IIS is not supported.
I have an MVC3 application, and I want to upgrade to MVC4 after its RTM.
But I don't have the right to change the production server environment. It's a Windows Server 2008 R2 with IIS7.5 and .NET4 installed.
Is it possible to upgrade to MVC4 without changing framework version and IIS?
Yes you can deploy MVC 4 application on a server with IIS 7.5 and .Net 4
Also, if an application works on IIS 7, would it be cool on the new version (if there is any)?
Err...even Microsoft's marketing material(dead link) is confusing! (says both IIS 7.0 and 7.5). However, I believe that Windows Server 2008 Web comes with IIS 7.0 and Windows Server 2008 R2 Web comes with IIS 7.5 FYI.
And yes, if you have an app working on IIS 7, it will work fine on IIS 7.5.
Edit: Appears Microsoft has update their site since this was posted, leaving link up for anyone looking for information on Server and Server R2.
http://www.microsoft.com/windowsserver2008/en/us/product-information.aspx
IIS version 7.5.
My guess is if Microsoft doesn't suck, an app working in 7.0 should be fine on a newer subversion, there should be no core changes. Then again, it is Microsoft, so I can't say that for certain.