Updatable razor view within precompiled website

时间:2019-04-16 23:32:19

标签: c# asp.net .net asp.net-mvc asp.net-mvc-5

I am working on a project where website has couple of views (*.cshtml) files that must be kept updatable and must not be precompiled. In order to achieve better performance rest of the website views must be precompiled.

The issue that I am facing is that I am getting following error whenever updatable view is requested

The file 'abc.cshtml' has not been pre-compiled, and cannot be requested.

I am trying to find a solution since last couple of days but no luck so far. I would really appreciate if someone could point me into right direction.

0 个答案:

没有答案