14 September 2010 - 12:40 AM / by Dominic Pettifer. 2 Comments for How to get a Reference to all Assemblies in the \bin Folder.
Technical Article - Something I’ve been stuck on for a while is a reliable way to get a list of all Assemblies (DLL files) that are located in the ASP.NET website’s \bin folder. I’ve frequently needed this for IOC style Controller registration code (find all types in all Assemblies that implement IController for instance), or for my ASP.NET Bootstrapper pattern (find all types that implement IBootstrapperTask). Relying on AppDomain.CurrentDomain.GetAssemblies () can be dangerous as I’ll discuss.
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. 2 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. 6 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.
And YouTube still auto-fucking-plays videos!! This is TWO-THOUSAND-AND-FUCKING-TWELVE FFS!!!
about 20 hours ago from webOn a side-note, YouTube's commenting system is god-awful atrocious dreadful horrible horrible horrible!! Constant meaningless error messages
about 20 hours ago from webJavaScript is slow mmmkay http://t.co/NbB4eQjw - Actually, no, it's not http://t.co/kpGEIoPO #nodejs
about 20 hours ago from webTFS: It's super expensive, so it must be brilliant, right? Like Sharepoint #tekpubtfstitlesuggestion
5:22 PM February 3rd from web