ASP.NET MVC Razor view engine

Nicholas Murray picture Nicholas Murray · Jul 4, 2010 · Viewed 18.9k times · Source

After reading Scott Guthrie's blog entry about the new Razor view engine for ASP.NET MVC and reading this question comparing the available view engines.

Razor seems to address most of the problems with the default view engine. What feature differences would make it a compelling choice for you as a developer? What features are lacking that would keep you from using it?

Answer

Darin Dimitrov picture Darin Dimitrov · Jul 4, 2010

Unit Testable: The new view engine implementation will support the ability to unit test views (without requiring a controller or web-server, and can be hosted in any unit test project – no special app-domain required).

At last!!! Can't believe it took almost 8 years for Microsoft to finally bring a view engine that supports this.