Logo

Maarten Balliauw {blog}

ASP.NET, ASP.NET MVC, Azure, PHP, OpenXML, VSTS, ...

About the author

Maarten Balliauw is an MVP ASP.NET and is currently employed as .NET Software Engineer at RealDolmen. His interests are mainly web applications developed in ASP.NET (C#) or PHP.
More about me More about me
Send mail E-mail me


Microsoft Most Valuable Professional - MVP - ASP.NET

Subscribe to my RSS feed Follow me on Twitter! View Maarten Balliauw's profile on LinkedIn RealDolmen - Rock-solid passion for ICT
I'm a speaker at TechDays Belgium and TechDays Finland

Search

Latest Twitter

    Follow me on Twitter...

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright Maarten Balliauw 2010

    CarTrackr - Sample ASP.NET MVC application

    CarTrackr - Sample ASP.NET MVC application Some people may have already noticed the link in my VISUG session blog post, but for those who didn't... I've released my sample application CarTrackr on CodePlex.

    CarTrackr is a sample application for the ASP.NET MVC framework using the repository pattern and dependency injection using the Unity application block. It was written for various demos in presentations done by Maarten Balliauw.

    CarTrackr is an online software application designed to help you understand and track your fuel usage and kilometers driven.

    You will have a record on when you filled up on fuel, how many kilometers you got in a given tank, how much you spent and how much liters of fuel you are using per 100 kilometer.

    CarTrackr will enable you to improve your fuel economy and save money as well as conserve fuel. Fuel economy and conservation is becoming an important way to control your finances with the current high price.

    Go get the source code for CarTrackr on CodePlex! (note that it has been updated for ASP.NET MVC beta 1)

    Technologies and techniques used

    Here's a list of technologies and techniques used:

    • CarTrackr uses the Unity application block to provide dependency injection
    • The repository design pattern is used for building a flexible data layer
    • Controllers are instantiated by using a custom ASP.NET MVC ControllerBuilder, which uses Unity for dependency resolving
    • The testing project makes use of Moq to mock out parts of the ASP.NET runtime
    • Form validation is included on most forms, leveraging the ViewData.ModelState class
    • It is possible to sign in using OpenID, for which the ASP.NET MVC Membership starter kit was used
    • LinqToSQL is used as the persistence layer
    • CarTrackr uses my ASP.NET MVC sitemap provider
    • Configuration Section Designer was used to create a custom configuration section
    • Extension methods are created for including Silverlight charts (rendered with Visifire)
    • Web 2.0 logo creator was used to generate a classy logo

    kick it on DotNetKicks.com


    Comments

    DotNetKicks.com |

    Tuesday, October 21, 2008 5:53 PM

    trackback

    Trackback from DotNetKicks.com

    CarTrackr - Sample ASP.NET MVC application

    blog.cwa.me.uk |

    Wednesday, October 22, 2008 9:31 AM

    pingback

    Pingback from blog.cwa.me.uk

    Reflective Perspective - Chris Alcock  » The Morning Brew #206

    mgalinks.wordpress.com |

    Wednesday, October 22, 2008 9:49 AM

    pingback

    Pingback from mgalinks.wordpress.com

    2008 October 22 - Links for today « My (almost) Daily Links

    alvinashcraft.com |

    Wednesday, October 22, 2008 5:25 PM

    pingback

    Pingback from alvinashcraft.com

    Dew Drop - October 22, 2008 | Alvin Ashcraft's Morning Dew

    thefreakparade.com |

    Thursday, October 23, 2008 7:36 AM

    pingback

    Pingback from thefreakparade.com

    To (ASP.NET)MVC or not to MVC (or, ASP.NET MVC Hyperlink Acupuncture) | The Freak Parade

    Shay Jacoby Israel |

    Friday, October 24, 2008 1:23 AM

    Shay Jacoby

    Thanks for the great Post.
    These kind of Projects are the best way to Study.

    Shay.

    #.think.in |

    Sunday, October 26, 2008 11:22 PM

    trackback

    Trackback from #.think.in

    #.think.in infoDose #4 (20th Oct - 25th Oct)

    Rem United States |

    Tuesday, November 04, 2008 12:08 PM

    Rem

    Nice post...

    DotNetShoutout |

    Thursday, November 20, 2008 8:35 AM

    trackback

    Trackback from DotNetShoutout

    ASP.NET MVC framework using - maartenba

    NVP India |

    Tuesday, January 06, 2009 7:50 AM

    NVP

    Nice one,

    Vitor Brazil |

    Wednesday, January 28, 2009 2:08 PM

    Vitor

    How do I solve this?
    Error  1  The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)  D:\Projetos\Estudo\Car\CarTrackr\Controllers\CarController.cs  107  10  CarTrackr

    maartenba Belgium |

    Wednesday, January 28, 2009 2:24 PM

    maartenba

    Makwe sure to add a reference to the Microsoft.Web.Mvc.dll in the \References folder.

    Comments are closed