Category Archives: Computers and Internet

Referencing a .NET assembly in a compile time safe manner

If you need to provide a System.Reflection.Assembly instance to an API [1], there are several mechanisms for doing so. They roughly split into two camps: Run-time assembly loading Assemblies known at compile time The run-time assembly loading includes scenarios such … Continue reading

Posted in Computers and Internet | Tagged , , , , , , | Leave a comment

Entity Framework Performance Tip for Creating Entities

This tip is applicable if you’re using Entity Framework Code First with dynamic proxies and you have a lot of objects attached to your context, for whatever reason (e.g. within a batch job). The first thing to note is that … Continue reading

Posted in Computers and Internet | Tagged , , , | Leave a comment

Tightening Injected Dependencies on Entity Framework

Dependency injection as a pattern provides a lot of useful nudges to get you to produce easily readable and maintainable code. One way in which it does this is to make dependencies explicit so you can see exactly what services a … Continue reading

Posted in Computers and Internet, laZook | Tagged , , , , , , , | 1 Comment

laZook Microstore

Six months ago I joined a team working on a new start-up called laZook. It’s an online distributor, providing brands with a single route to many existing eCommerce channels and some that we’re helping to develop from scratch. We handle … Continue reading

Posted in Computers and Internet, laZook, Personal | Leave a comment

Quartz.net persistent job store LAST_MODIFIED_TIME issue

I’m playing around with Quartz.net and adding support for a persistent job store via the ADO.NET Job Store. As per the recommendation, I’m instructing the job store to persist job parameters in plain text rather than BLOBs, using the configuration: <add key=”quartz.jobStore.useProperties” … Continue reading

Posted in Computers and Internet | Leave a comment

Installing Balanced Data Distributor on SQL Server 2008 R2 SP1

Edit: This post refers to an older version of the BDD installer. As per JasonH’s comment below, Microsoft has released a new installation package which should hopefully fix the installation bug. It can be found here: http://www.microsoft.com/en-us/download/details.aspx?id=4123 Original post: Microsoft’s Balanced Data … Continue reading

Posted in Computers and Internet, SQL Server | 12 Comments

Deploying ASP.NET MVC 3 Razor – Missing System.Web.Helpers (and others)

Last week I was racing against time to complete a QA deployment of an ASP.NET MVC 3 application that uses the Razor view engine. The deployment was to a clean Windows Server 2008 R2 box. I had already completed the … Continue reading

Posted in Computers and Internet | Tagged , , , , , | 2 Comments