Articles : Page 2 of 2
- Filter:
- Mono
-
How to Build a Custom View Engine with Theme Support
May 1016All good blogging platforms have theme support. So while working on WeBlog I initially implemented theme support by using a base controller class. The base controller class was responsible for dynamically setting the master page at runtime. I did this by assigning the action’s MasterName property in the OnActionExecuted event. Here is a short snippet of code which outlines the process. public class BaseController { protected override void OnActionExecuted(ActionExecutedContext filterContext)...
- 1
- 2

