How to install Webmatrix on IIS8 using Windows Server 2016
1. You do not need to install anything relating to Webmatrix !
2. Install the IIS Server Role
Create a virtual folder and copy all the files / database and web.config in there.
PS : You can’t run .cshtml in the root folder !
Because it has a forbidden handler settings for .cshtml extensions
Result will look like this :
3. Configure the IIS server for ASP.NET Razor
Optionally you can set the CLR 4.0 as 32 Bit integrated mode.
Select the Handler Mappings, next Advanced Settings and change the Application Pool from :
Default Application Pool to .NET v4.5
You don’t need to set ISAPI filters !!
And the Mapping handlers are already installed for .cshtml as well
You are ready to test you webpage…
PS : don’t forget to give READ / WRITE access to the Database folder location !