mhinze.com

Matt Hinze, learning in public

AutoMapper in NerdDinner

Speaking of NerdDinner, Scott asked me to use it to create an AutoMapper example. AutoMapper, the brainchild of Jimmy Bogard, is an object-to-object mapper.  What that means is up to you – but we’ll use it here to map from the domain model to a view model.  The view model is an object heirarchy that [...]

Jeffrey and Eric will be delivering a free afternoon of ASP.NET MVC in Austin on Tuesday, June 16th.  If you haven’t yet had a run-in with the new framework or if you’re ready to see what we’ve learned using ASP.NET MVC in the field, this afternoon will be an excellent opportunity to compress learning and [...]

Passing objects to SubControllers

SubControllers are MVC Controllers that are also parameters to your action methods.  Incorporating their use in large systems allows for composition, dependency inversion, and separation of concerns. Sometimes we want Controller actions to pass objects into SubControllers so that the SubControllers can do interesting things with them.  For example, in a Product Controller we have [...]

SubControllers in ASP.NET MVC

I should have known something was up when I caught Jeffrey Palermo (my boss at Headspring) browsing the ASP.NET MVC Preview 5 source. We’re working on a enterprise web application using ASP.NET MVC.  That week one of our tasks was to create a rather complex page full of robust components that did intricate little things [...]

A few thoughts

Microsoft wants you to think of a web page as an action, but it’s really a collection of subcontrollers. Mahendra Mavani is one of the very talented software engineers working at Headspring and he knows all the obscure Resharper shortcuts (serious geek cred). Coding is an indulgent, wasteful activity.  Design is best done away from [...]