Mapping Routes with Fluent Builder

added by KodefuGuru
6/27/2012 11:38:03 AM

3 Kicks, 230 Views

I am a big fan of the fluent builder pattern due to its natural, readable flow. Whenever I see a builder that’s not fluent, I immediately want to apply fluency to it. Since I began working on a new ASP.NET MVC application, I immediately targeted the route construction.


2 comments

dpeterson
6/28/2012 8:13:53 AM
It's almost surprising how easy it is to build a chainable, fluent api thanks to extension methods.

timbolt8
6/28/2012 8:41:17 AM
great article. Simple and easy to understand