I set MvcBuildViews to true and precompiled the views into a DLL file. My question is: can I deploy this DLL and completely delete the Views folder? Are there any settings that I will need to make?
Thanks.
I believe (correct me if I'm wrong) MvcBuildViews just compiles your views, but you still need to distribute them.
MvcBuildViews
The RazorGenerator project will be interesting to you and can behave exactly as you need.
http://razorgenerator.codeplex.com/
It says how it works. I used this before to create βplug-inβ MVC applications where only the binary file is distributed, not the views.
http://blog.davidebbo.com/2011/06/precompile-your-mvc-views-using.html
Source: https://habr.com/ru/post/1398897/More articles:svn: ignore locally on computer? - version-controlAndroid service - 2 times communication - javaAtomic value of SERIAL when committing a transaction - sqlHTML5 editor (contentEditable) with pages like Google Docs - javascriptAutomatically resize child divs so that they equally distribute the width of the parent - javascriptUpdating the matplotlib histogram? - pythonNUnit does not run my new tests - c #LESS CSS - setting variable in mixin - cssAutomatic deletion of nested objects in ORMLite - androidHow can I transfer MP3 via HTTP in the background? - c #All Articles