15 July 2010 - 10:30 PM / by Dominic Pettifer. 2 Comments for Put an IOC Powered Bootstrapper in your ASP.NET MVC Application.
Technical Article - Do you have a fat Global.asax file in your ASP.NET MVC application? Does it contain 1000’s of lines of application start-up code? Want to break it out into separate classes and gain the benefits of decoupling, dependency injection and unit testability? Read on.
8 March 2010 - 11:55 PM / by Dominic Pettifer. 8 Comments for Dependency Injection in ASP.NET MVC 2 – Part 3: Custom DataAnnotation ValidationAttributes.
Technical Article - Part 3 in a series on Dependency Injection in ASP.NET MVC shows how to inject dependencies into custom ValidationAttributes, used to implement validation using the DataAnnotations framework. Have you ever needed to hit a database when validating a ViewModel/form submit, and wondered how to do it?
1 March 2010 - 11:50 PM / by Dominic Pettifer. 0 Comments for Dependency Injection in ASP.NET MVC 2 – Part 2: ModelBinders/ViewModels.
Technical Article - In part 2 of a series on Dependency Injection in ASP.NET MVC, we look at injecting dependencies into your ViewModels. This technique comes in useful for when you want to render a dropdown list of items from a database, and don’t want your controller populating the items.
28 February 2010 - 11:30 PM / by Dominic Pettifer. 3 Comments for Dependency Injection in ASP.NET MVC 2 – Part 1: Controllers.
Technical Article - In the first part of three, I show you how to perform Dependency Injection in ASP.NET MVC 2 using the Castle Windsor IOC (Inversion of Control) Container. In part 1 we look at injecting dependencies into your Controllers.
19 January 2010 - 11:23 PM / by Dominic Pettifer. 2 Comments for Strongly Typed <label> elements in ASP.NET MVC 2.
Cool C# Snippets - Generate strongly typed <label> elements in a way that is (IMHO) better than the default method built into ASP.NET MVC 2.
18 March 2009 - 1:30 AM / by Dominic Pettifer. 15 Comments for ASP.NET MVC and Clean SEO Friendly URLs.
Technical Article - I show you how to generate SEO friendly URLs in ASP.NET MVC using the actual title/name of the record or item (product/blog name etc.) instead of the ID. That way we can have nice looking URLs that look like /products/123/apple-ipod-nano-4gb instead of /products/detail/123. The trouble is by default, ASP.NET MVC Html helpers don’t always encode the URL properly. Also how do we deal with updating the title, and old broken links?
7 March 2009 - 11:30 AM / by Dominic Pettifer. 0 Comments for Misc Updates: Twitter and ASP.NET MVC.
Personal Blog - Some miscellaneous updates. You can now find me on Twitter. I’m also learning ASP.NET MVC (Model, View, Controller) and in the process of converting this blog over to MVC.
HttpApplication context pooling with multiple requests (from the blog IHttpModule Gotchas – The Init() Method Can Get Called Multiple Times )
Red Bull gives you wings....that generate huge amounts of downforce #F1
about 18 hours ago from Twitterrific.vampire { -webkit-box-shadow: none; -webkit-box-reflection: none; } #cssjokes
7:44 PM July 30th from Echofon@edhenderson lol, lets get a trending topic going - .gangster .wrapper { color: #000; width: 150%; text-decoration: bling; } #cssjokes
7:36 PM July 30th from Echofon@weblivz I think the petition should be resubmitted but with security stuff taken out, as that's what the response purely focused on
6:13 PM July 30th from Echofon@weblivz I still think Chrome Frame can come to the rescue here, still keep their old browsers + legacy systems, no retraining costs etc.
6:12 PM July 30th from Echofon