Close

Audit information with SQL

Time comes when you have a database running, fully deployed and working, and a few years later something appears to be going wrong but you are not sure what or what is happening. You start looking at possible options, and one of the first that springs to mind is performing an audit on any changed […]

Read More

Are you ready for HTML5

With HTML5 becoming more of the norm, well if it’s not it is about to be, and IE6 not supporting it (hang on IE9 does not currently support it either!), so it will just have to be dumped, at last  🙂  As us developers will need to get up to speed on HTML5 there is […]

Read More

LINQ to SQL using SoC

I have had a few people saying that LINQ to SQL is hard to use for Separation of Concerns, so I’ve created a small project that show how to do it.  I have used the MEF as my SoC framework. Project is using .Net 3.5 SoCLINQ2SQL.zip (905.61 kb) To enhance this it is worth look […]

Read More

MEF not supporting open generic types

If you are trying to use MEF with open generic types like: [Export(typeof(IRepository<>))]public class itial; padding: 0px; margin: 0px; border: 0px initial initial;”>Repository<T> : IRepository<al; background-color: transparent; color: black; background-position: initial initial; background-repeat: initial initial; padding: 0px; margin: 0px; border: 0px initial initial;”>T>    where T : class{ With an import of [Import(typeof(IRepository<>))]private IRepository<Contact> repository; […]

Read More

How to generate LINQ to SQL Mapping

You may or may not have come across the ability within LINQ to SQL to have mapping to and from your own objects. Microsoft has a mapping builder called sqlmetal, which is a code generation tool to generate the mapping automatically. Here is a sample command line to generate the mapping file. [code language=c#] sqlmetal […]

Read More

Running Gallio tests within Visual Studio

While using Gallio for performing Unit Tests within Visual Studio, I have noticed that some times you can’t run Unit Tests, or it says that no tests available, with thanks to Lee, he pointed me to a simple fix Visual Studio can be used to run your tests in process, with the debugger. In order […]

Read More

PRETEC i-DISK – how to rescue

I recently purchased a Pertec i-Disk Bullet 32Gb, and within a hour I had broken it, it had become write protected, not sure why.  After an e-mail to Pertec support they sent me a solution to solve the problem, here is what they said and how to get your i-Disk working again Please use USB […]

Read More

AutoMapper

I have just given an hour presentation on AutoMapper, and great Object to Object mapper. Here is the source file with the samples AutoMapper.zip (855.99 kb)

Read More