Before I start talking about how to go about precompiling razor views in ASP.NET MVC 3, let’s talk about the why. The foremost reason is performance. Razor views are compiled at runtime. In projects with many views, this can be slow down the app start-up time. For better performance, it is ideal to precompile your razor views.