Tag Archives: MVC

On An Unobtrusive IronPython ViewEngine for ASP.NET MVC

With all the recent attention given to the Razor view engine, I thought it would be interesting to see if I could prototype an even less intrusive syntax for a view engine. In other words… From WebForms: 1 2 3 … Continue reading

Posted in Uncategorized | Tagged , , | 6 Comments

On A Simple IronPython Route Mapper for ASP.NET MVC

Another Code Voyeur article showing how to replace XML or compiled configuration with IronPython. This one moves ASP.NET MVC route mappings to a Python file. http://www.codevoyeur.com/Articles/21/A-Simple-IronPython-Route-Mapper-for-ASP.NET-MVC.aspx

Tagged , , | Leave a comment

On Running NerdDinner on MongoDB with NoRM – Part I

As part of a presentation I’ll be giving at the Hartford Code Camp this Saturday, I’ve started to work through the task of converting NerdDinner to run on MongoDB using the NoRM driver. This is the first in a short … Continue reading

Tagged , , | 5 Comments

On Dynamic Actions in ASP.NET MVC

I’ve always been bothered by writing code like: public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() { return View(); } public ActionResult Terms() { return View(); } public ActionResult Privacy() { return … Continue reading

Tagged , , | Leave a comment

On an ASP.NET MVC Tag Cloud HTML Extension

Want to add a tag cloud to your ASP.NET MVC site? I wrote a simple HtmlHelper extension method to do so. The Code Voyeur article is here – http://www.codevoyeur.com/Articles/14/ASP.NET-MVC-Tag-Cloud-HTML-Extensions.aspx.

Tagged , | 1 Comment

On Preserving State after Validation Failures in ASP.NET MVC

For those ASP.NET developers migrating from WebForms to MVC (or MonoRail), one of the first hurdles to overcome is the absence of ViewState. This hurdle is perhaps highest when working with a form that will represent itself after failed validation. … Continue reading

Tagged , | 1 Comment

On A Simple IronPython ControllerFactory for ASP.NET MVC

Another CodeVoyeur article on using IronPython as a configuration language. This is the first to use the DLR API. http://www.codevoyeur.com/Articles/12/A-Simple-IronPython-ControllerFactory-for-ASP.NET-MVC.aspx

Tagged , , , | Leave a comment