WebMatrix only supports a folder-based project (i.e. WebSite, not a web application project). Because of this, ASP.NET MVC is not supported.
However, you can have clean .cs files that you can reference from your .cshtml files. Just leave them in the App_Code folder.
source share