I’ve been ramping up on Microsoft’s latest and greatest ASP.NET MVC4 and while I love the technology, I hate the tight integration into Visual Studio. I could not find a single example that did not require a compilation of a DLL by Visual Studio.
I’m used to my Just in Time compiling, so I went hard to work at ripping out the Visual Studio umbilical cord and was able to produce a (what I think is) much cleaner setup. Most of all, it doesn’t require re-compiling every time, so you don’t need Visual Studio!
I should warn that this doesn’t have the “view” or “model” hookups; just the controller – with the default “Values” example. Since I work with ExtJS it’s mainly the Web API enabled by the controller that I’m after.
Download: MVC4Test (Stripped) (~2 MB)
INSTALLATION INSTRUCTIONS
– Install .NET 4.5 (I used MS Web Platform Installer)
– Make sure IIS application pool runs under .NET 4.0
– Make sure .NET 4 is allowed in IIS (CGI Restrictions)
– Install ASP.NET MVC 4 – I did not use MS Web Platform Installer, as it will also want to install a SQLExpress database; instead I used stand-alone installer (http://www.asp.net/mvc/mvc4)