8 March 2010 - 11:55 PM / by Dominic Pettifer. 0 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. 0 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. 0 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.
9 May 2009 - 4:21 AM / by Dominic Pettifer. 3 Comments for Stop IIS AppDomain Restarts When a Folder is Deleted.
Technical Article - I show you how to prevent IIS web server, and the ASP.NET worker process, from restarting your websites AppDomain whenever a folder is deleted (either programmatically or manually) in your web sites folder hierarchy.
7 May 2009 - 11:55 PM / by Dominic Pettifer. 4 Images for And So It Begins (part 2). 4 Comments for And So It Begins (part 2).
Personal Blog - Finally, my ASP.NET MVC blog is live.
18 March 2009 - 1:30 AM / by Dominic Pettifer. 13 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?
12 March 2009 - 1:00 AM / by Dominic Pettifer. 1 Comment for IE Browser Detection for CSS (Using Conditional Comments).
Technical Article - A simple, reliable way to perform browser detection for Internet Explorer browsers, in order to serve certain CSS or JavaScript files (or even HTML mark-up) to specific versions of IE, while ignoring other browsers. If you have to serve a certain style sheet file to a specific version of IE to steer your way around CSS browser rendering bugs, then this may come in handy.
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.
28 February 2009 - 11:40 PM / by Dominic Pettifer. 1 Image for Add Silverlight Tracking to your Google Analytics. 1 Comment for Add Silverlight Tracking to your Google Analytics.
Technical Article - Use this handy JavaScript to add Silverlight Tracking to Google Analytics, and see what percentage of your users have Silverlight installed, including which versions.
Bugatti Veyron - As a photo mosaic. (from the blog Photo Mosaic Generator - Fun Adventures With Silverlight )
@elijahmanor FYI the Accordian control in your latest Tech Tweets seems broken (9th March), ASP.NET and ASP.NET MVC entries missing
about 4 hours ago from EchofonRT: @mkristensen: Search for "recursion" on Google and see if you can spot the easter egg - Awesome!
about 17 hours ago from Echofon@shanselman Turn off hardware acceleration in Flash (right click on Flash area), or try updating your graphics card drivers
about 19 hours ago from EchofonBlogged: Dependency Injection in #aspnetmvc 2.0 – Part 3: Custom DataAnnotation ValidationAttributes http://bit.ly/adKiez
12:21 AM March 9th from EchofonMy greatest anti-achievement yet. I've managed to bring down an entire site by putting !exclamation! mark (C# NOT operator) in wrong place
9:48 AM March 8th from Echofon