Link Details

Link 910003 thumbnail
User 225256 avatar

By mswatcher
via stacktoheap.com
Published: Jan 23 2013 / 07:22

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.
  • 7
  • 0
  • 1312
  • 431

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java