March 2008 - Posts

17
Comments

ASP.Net MVC Framework 2 - The Binding helper class (UI-mapper) by Fredrik N

In this post I’m going to explain the use of the ASP.Net MVC Framework’s BindingHelperExtensions class and how to use it as what I call a UI mapper (map user input fields to an object). The BindingHelperExtensions has the following five methods: T ReadFromRequest<T>...
Filed under: ,
5
Comments

ASP.Net MVC Framework 2 - Interception and creating a Role Action Filter by Fredrik N

With the ASP.Net MVC Framework Preview 2, we can use Action Filters. An Action Filter can be used to intercept actions before and after an Action method of a Controller is executed. By using Action Filters you can for example add code that will check...
Filed under: ,
5
Comments

ASP.Net MVC Framework 2 - Define Routes in Web.config by Fredrik N

Something I like with ASP.Net MVC Framework Preview 2 is the RouteValueDictionary used by the Route class’s Defaults, Constraints and DataTokens property, before they use an anonymous type. Because the properties are now a specific type it’s much easier...
Filed under: ,
More Posts