posts tagged * mvc

Testing the OnActionExecuting event of a Controller


Unfortunately the images to this post were lost during the migration from Blogengine.Net to WordPress

read more

Creating a menu for your ASP.NET MVC website using HTML helpers


I've been working with ASP.NET MVC for a few months and it has been quite a ride. I'm working on a website where the menu is loaded from the database. It should be rendered as an unsorted list and a CSS class should be added to the active item. Here is an example of the menu:

read more