I have created an ASP.Net C# website using Visual Studio with Razor v2. I published it to my live server, but the pages do not process the code. The pages are .cshtml pages.
- The server is a Windows 2008 Server with IIS7.
- The Application Pool is .NET Framework v4.0.30319.
- .cshtml is listed in MIME Types as text/html
- *.cshtml is NOT listed in the Handler Mapping.
I am going to guess that I need to add .cshtml to the handler mappings, but I do not know how that needs to set up.
Any help will be greatly appreciated.
0 Answers