Compile razor views at build time

When running asp.net MVC locally in development, MVC Views are actually compiled at runtime, when you first visit a view, the cshtml view is being compiled to a CS file and embedded to your web assembly before it is bind to your model and returned to the client. One thing I don’t like about this … Continue reading Compile razor views at build time