Skip to content

Implementing a View Engine

thecodejunkie edited this page Jun 10, 2011 · 6 revisions

This page will contain implementation advice for view engines

  • View engines are singletons, do not store state in them
  • If you add dependencies to your engine, add a default ctor with default configuration
  • Make use of the view cache on the render context that is passed into the IViewEngine.RenderView method