viewengine

Building a Custom ViewEngine for ASP.NET MVC

In larger MVC projects, my group often has quite a few partial views in the Shared folder. Generally this leads to a lot of .cshtml files in the Shared folder, which tends to get a bit crowded: But many of those partial views apply to multiple actions in a single controller. I'd like to have a way to associate some of those partial views with the controller and views they are related to, while still allowing MVC to render them... Read more >
/* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = '//' + disqus_shortname + '.disqus.com/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }());