I\'m using Asp.net Mvc and I wanted to know why I don\'t need to compile my project when updating .net code in cshtml files? Now if we are talking about html\\css updates then I
.cshtml
files will be compiled just-in-time, that is when a request arrives regarding those pages.
However controllers are pre-compiled and stored into your project's DLL files.
Deciding which one to use, depends on your needs. Pre-compiling gives you less response time (because you've compiled the code before) but just-in-time compiling offers you flexibility.