↓ 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

iPhone and Google

·1 min
Finally found a link to enable you to be able to use Google fully on your iPhone http://www.google.com/support/mobile/bin/topic.py?topic=13587

Picasa photos in your BlogEngine site

·2 mins
I’ve been having a play with Picasa API, and come up with this Extension for BlogEngine. All you have to do is pake the picture.cs file and place it in “\App_Code\Extensions” folder, and it takes care of everything for you.

Caching from a non Web applications

·1 min
Okay you are developing a WinForm application and you are looking at performance, one area is Caching of information, but wait a minute I’ve been using caching in my web applications for sometime, but how do you do it from a WinForm application as you don’t have a host to store your cache.

Generating a Random Password

·1 min
Found a nice post from Chris Blankenship’s blog about generating a Random Password, the code is just one line of code and is quite simple string password = Membership.GeneratePassword(12, 1); Console.Writeline(“Random Password: ” + password);

Entity Framework Issues

·1 min
I’ve come across two issues with the Entity Framework, one that effects any language and one just for VB.NET It’s quite simple, the Entity Framework generates edmx files, however that Inherits Global.System.Data.Objects.DataClasses.EntityObject, which means when you create your Partial class you can not Inherit from your own base class.

HTTP Sniffer

·2 mins
Why can I never seem to remember the name of software I have used before? Perhaps that is one reason why I try to keep my blog up to date, as I use it as a brain dump of tasks I have been working on, so when my memory fails me I can also revert to my Blog and perform a search or look at the archive and find what I as working on say 2 years ago. I know softare moves on, but I always find some software no matter how old it is, just can’t be beaten.

Picasa Google’s web album

·1 min
I’ve always wanted to hook in to Goolges Picasa Web Album to allow for sites to store and display photos from Picasa, and I have just found a great blog from Richard Nilsson on the startings of building a photo album on your site, well worth a visit.

Anonymous methods, Lambdas, Confusion

·1 min
I’ve been using Anonymous methods and Lambdas extressions for a little while now, but I do find as I go from customer to customer, do they really understand what all this means? I can now safely say that Mike Taulty has posted a very good blog on the subject, which should assist in helping people to understand what it is all about.

MVC Release Candidate 1

·1 min
Microsoft have release MVC Release Candidate 1, I’ve had a little play with MVC and it looks very promising, although it is a different way of programming for your web site, the benefits are huge. You can download MVC Release Candidate 1 from this link

Ski Boots for sale

·1 min
I’m selling my Ski Boots on Ebay, if any one is interested http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=300289215769

WCF getting started

·1 min
I’m not currently working on WCF, but I when I find some useful links I’ll add them here Set of links for WCF Getting Started with Windows Communication Foundation (WCF) If you’re going to do any extensive WCF services it is worth getting hold of Programming WCF Services by Juval Lowy

My Weather station

·2 mins
I’ve been playing with my Weather station, Watson W-8681, since Christmas Day, and I love it. It came in a small box, all tidy and wanting to be built on Christmas day Taking it all out of the box, you get the rain water measurer, wind direction, software CD, temp and wireless sensor and a cover to protect it, wind speed and all the fixing clamps needed.

Creating an Entity Connection for the Entity Framework

·1 min
When you start to play with the Entity Framework you will soon come up with the need to store your connection in a common place. To do this you will need to with provide the connection string to the Entity Object Context or provide the Entity Connection. I prefer to us the Entity Connection as you can explicity define each section of the connection.

StructureMap Example

·1 min
After using StructureMap for a while I thought it would be nice to generate a simple example of how it all works, so I’ve built in Visual Studio 2008, both C# and a VB.NET version.

LINQ to Entity Framework

·1 min
What with Entity Framework around, I have been finding it quite hard to find any good information about the Framework, so I have started to compile a list of good resources The ADO.NET Entity Framework Overview

Fastest way to find the number of records in MS SQL

·1 min
Have you ever had a table to a lot of rows, when I mean a lot I mean over 1,000,000 records. If you try and perform a row count like SELECT COUNT(ID) FROM table it just takes forever.

LINQ to SQL v LINQ to Entities

·2 mins
Whatare the differences between LINQ to SQL v LINQ to Entities, well: LINQ to SQL uses tables as entities LINQ to Entities allows me to write C# LINQ queries that run against a conceptual data model.