↓ Skip to main content
The technical notebook of Bryan Avery

Ideas worth sharing.

Practical notes on software architecture, cloud platforms, security and AI. Written from real engineering experience, with an eye on what actually works.

A little about me

Latest articles

553 articles in the archive

Debugging and developing using Firefox

·2 mins
So I need to trap and look at the traffic going over HTTP and knowing that Firefox is the browser to use with all it different plugins it makes sense to download the latest version of Firefox and see what I can plug in to it.

Back and working

·1 min
So I’m back and ready to go, with just getting back from my travelling I’m back at work with only two days of my own time….! Oh well I was looking at taking December off and start fully working in the new year. Not that I took the first job that came along, far from it. While on the beaches of Goa I made up a list of what work I will only accept it included working near where I live, work I have done before so as to make it easier to get back in to the working mode, something to do with the Olympics, and a small team on a new project. And you guessed it this role fits all the criteria so a result 

Audit information with SQL

·8 mins
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 information, wouldn’t it be nice to be able to audit information so that you can see what an when things are changing?

Spinning image for loading a page

·1 min
Found a nice simple page to generate a Loading Images, simple to use and so easy to generate the image that you need http://www.ajaxload.info/

Are you ready for HTML5

·1 min
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 a new resource available from Google, HTML5Rocks, lots of great resource and information available on this site

LINQ to SQL using SoC

·1 min
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.

How to generate LINQ to SQL Mapping

·1 min
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.

Running Gallio tests within Visual Studio

·1 min
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

PRETEC i-DISK – how to rescue

·1 min
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

AutoMapper

·1 min
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)

Convert a List in to a Collection

·1 min
If you have an object that contains a List or IList, and you need to convert it in to a Collection, here is how you can do it in a single line. var foo = new Collection<FooList>(fooList);

How to serialize/deserialize a nullable date

·2 mins
The time will come when you are serializing and deserializing object to and from XML that you will come across nullable dates, or more correctly an attribute XML date that is nullable. If you are like me and using the System.Xml.Serialization namespace, which make the complete process of serializing and deserializing so much easier.

Running Gallio tests using MSBuild

·1 min
When using a Continuous Integration server such as TeamCity, you’ll need to be able to perform the ability to run tests, the easiest and most controlled way is by writing your own MSBuild Script. Here is a little build script that finds all the test files and then runs them using Gallio, of course you need to reference the Gallio MSBuildTasks, in my case they are in C:\Program Files\Gallio\bin\Gallio.MsBuildTasks.dll

How does Home Server take those backups?

·25 mins
I’ve been using Home Server to take backups of all my machines on my network, and I am very pleased, it’s an install and forget service, which is nice for a change from Microsoft. Until I had to upgrade my server and install two new hard drives. I found my old backups were no longer available, this would not have been an issue until you need some information held on an old backup, which my Son did. So after many hours of trying I finally found a document that explains the complete process