Code Voyeur
RSS
Languages MVC ORM About Roadmap Contact Site Map RSS Sample Code Presentations Snippets dll Hell .net

Articles Tagged with dlr

A Simple IronPython ControllerFactory for ASP.NET MVC
ASP.NET MVC includes a facility for creating a custom controller factory. By implementing IControllerFactory, it is possible to manage controllers with configuration files using popular IoC containers, such as Spring.NET and Windsor. This article will demonstrate how to manage controllers using an external IronPython configuration file to manage controller instances.
A Simple IronPython ActionFilter for ASP.NET MVC
ASP.NET MVC allows developer to wrap controller actions with arbitrary chunks of code by extending the ActionFilterAttribute class. This class provides four virtual methods that can be run before or after an action executes and before and after an actions result is delivered. This article describes how to create a single, extensible action filter that will inject IronPython scripts into the controller's request.