User-1454326058 posted
Hi damon,
Thanks for your post!
As far as I know, there are some functions below when we pre-compile MVC project.
- To avoid any runtime hit when your site starts, since there is nothing left to compile at runtime. This can be significant in sites with many views.
- No longer need to deploy the cshtml files at all, resulting in a smaller deployment file set.
- Can avoid some run-time errors.
In my opinion, it is faster every time when visitor goes to the site.
Based on you said “Exclude file from App_Data folder - does this affect MVC projects?”, I would like to know what’s the exclude file in your
App_Data folder, is it any Data file, I think they will affect your project if they are relate to your project.
Here is a reference below that may benefit you:
Deploy ASP.NET MVC projects
http://www.asp.net/mvc/overview/deployment
Thanks
Best Regards