1. Multiple Repository Data Contexts with my Repository Pattern

    I recently needed to have links to multiple different database contexts within an application I was developing using StaticVoid.Core.Repository. I use ninject for all of my dependency injection and I though it might be useful to share how I managed to get the repository binding correctly to different versions of DbContext depending on the type requested.…


  2. StaticVoid IO Extentions - Nuget

    I was recently doing some file and folder manipulation using System.IO and wished I had some kind of fluent interface for traversing files and folders. So I wrote a basic one.…


  3. StaticVoid Repository Pattern - NuGet

    Repositories are all about decoupling our application from our chosen storage mechanism. This is my take on a Generic Repository with Entity Framework.…


  4. Custom Errors and SharePoint 2010

    We recently had a client who wanted to replace all SharePoint error pages with their own custom ones. This lead me to find a whole bunch of nasty gotchas inside of SharePoint in regards to the way it generates and handles errors. …


  5. SharePoint Alternate Access Mappings

    As a SharePoint developer alternate access mappings (AAM) are one of the things I see done most poorly. This is largely due to server administrators (and for that matter SharePoint administrators) being more familiar with IIS than Central Admin. Having said that the damage you can do by incorrectly configuring a farms AAM’s is substantial and not immediately obvious. …


  6. SharePoint Managed Paths

    Managed paths in SharePoint are a confusing beast, so here's my explanation of how and when to use them.…


  7. Adding a custom verb to all web parts in SharePoint

    So I was trying to add a menu item to all web parts in a SharePoint 2007 site collection. Surely such a thing should be simple to achieve. I expected it to be implemented in a similar way to adding to the ECB drop downs in a document library or something like the site actions menu. However menu items on web parts are implemented by the base ASP.Net web part framework using a concept called verbs. …