Asp .net Mvc - only include Razor View Engigne. From http://stackoverflow.com/questions/5912980/turning-off-the-webformviewengine-when-using-razor #asp.net-mvc
public class Global : HttpApplication
{
public void Application_Start()
{
// Clears all previously registered view engines.
ViewEngines.Engines.Clear();
// Registers our Razor C# specific view engine.
// This can also be registered using dependency injection through the new IDependencyResolver interface.
ViewEngines.Engines.Add(new RazorViewEngine());
}
}