Last post Apr 15, 2016 08:30 AM by Angie xu - MSFT
Apr 14, 2016 05:32 PM|Saju786|LINK
Apr 14, 2016 05:44 PM|PatriceSc|LINK
Error 500 is a server side exception. If you don't see the exact message, you should find a message in the Windows event log. Once you have this message it should be much easier to understand what happens and to fix this problem (I'm not using WebMatrix).
Apr 15, 2016 08:30 AM|Angie xu - MSFT|LINK
Firstly it's recommended to debug Razor sites, there are two steps:
This is a demo:
Debugging ASP.NET Web Pages (Razor) Sites
Secondly, you need check write razor syntax correctly, these are some tips:
Have a good day.