aspnet/Mvc — pull request #1337 by yishaigalatzer (2014-10-11 22:36:51+00:00)
Title: Move caching of compilation results to its own layer.

This will allow only creating the razor compilation when really needed, with the right lifetime.

Without this change, the ICompilerService might be resolved with a disposed scoped service provider.