This is how I got my ASP.NET 5 MVC site to run on IIS 8.5. I had some initial problems and most information I found on internet was about earlier beta versions of the framework. All of these had lots of steps and and none of them helped me.
- Windows Server 2012 R2 (fresh install)
- IIS 8.5
- DNX Version: dnx-clr-x22.214.171.124-rc1-update1
- Visual Studio 2015 Update 1
- Added Server Role: Web Server (IIS).
And also ASP.NET 4.5 (under Web Server (IIS) -> Web Server -> Application Development).
This will also include the feature ASP.NET from .NET Framework and ISAPI Extensions, ISAPI Filters and also .NET Extensibility 4.5.
- Installed the HttpPlatformHandler 1.2 from:
- Compiled and Published the Web project in Visual Studio to a local folder.
Configuration: Release – x64 (will probably work with Any CPU also).
Target DNX Version: dnx-clr-x126.96.36.199-rc1-update1
- Copied the published output to the Web Server.
- Added a new Site pointing to the wwwroot in the published folder.
And that was all that was necessary. Obviously running an ASP.NET 5 site is much easier now when the release candidate is out.